Skip to content

#187dbb

a dark, electric blue · cool · closest name: Steel Blue

RGB
24, 125, 187
HSL
203°, 77%, 41%
CMYK
87, 33, 0, 27
Luminance
0.1845

At a glance

Every number on this page in one read: what #187dbb is made of, how bright it looks, and which way it leans.

Hex
#187dbb
Hue
203°
blue
Saturation
77%
electric
Lightness
41%
dark
Brightness
73%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1845
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
4.69:1
Closest name
Steel Blue
ΔE2000 3.8
Where it sits
Hue203° of 360°
Saturation77%
Lightness41%
Temperature
Warm ← → Cool97% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#187dbb
RGBrgb(24, 125, 187)
HSLhsl(203, 77%, 41%)
CMYKcmyk(87%, 33%, 0%, 27%)
LABlab(50.0 -4.7 -40.1)
LCHlch(50.0 40.4 263.3)
OKLCHoklch(0.566 0.128 242.8)
Decimal1605051
Display P3color(display-p3 0.094 0.490 0.733)

Copy-ready code

/* CSS */
color: #187dbb;
background-color: #187dbb;
/* Tailwind (arbitrary) */
class="text-[#187dbb] bg-[#187dbb]"
/* SCSS */
$brand: #187dbb;
/* SwiftUI */
Color(red: 0.094, green: 0.490, blue: 0.733)
/* Android */
Color.parseColor("#187dbb")
/* Flutter */
Color(0xFF187DBB)
/* Python / OpenCV (BGR) */
(187, 125, 24)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #187dbb · 4.69:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.48:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.69:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #187dbb as text scores 4.48:1 on white and 4.69:1 on black.

Accessibility — WCAG contrast

Aa
#187dbb on white: 4.48:1
AA ✗ fail · AA-large · AAA
Aa
#187dbb on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5F7FBE
deuteranopia · #4971BA
tritanopia · #008C93

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #187dbb is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F8FC
#E6F2F9
#C7E3F4
#9CD1F2
#6ABAEC
#38A4E6
#1C91D9
#187dbb
#136191
#124869
#0B2D41
Base = 700Lightest = 50 · #F3F8FCDarkest = 950 · #0B2D41
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E6F2F9;
  --brand-200: #C7E3F4;
  --brand-300: #9CD1F2;
  --brand-400: #6ABAEC;
  --brand-500: #38A4E6;
  --brand-600: #1C91D9;
  --brand-700: #187dbb;
  --brand-800: #136191;
  --brand-900: #124869;
  --brand-950: #0B2D41;
  --brand: #187dbb;
  --brand-ink: #000000;
}

Colors that work with #187dbb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DCED
Hairlines and dividers
Muted text#4B7C9B
Captions on the surface
Accent#BF2A14
Second voice, not a rival
Dark variant#0E4C71
Hover, pressed, headers
Light variant#E8F5FC
Selected rows, tints
Dark surface#141E24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #187dbb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#BB5618
Analogous left#18BBA8
Analogous right#182CBB
Split-complement 1#BB182C
Split-complement 2#BBA818
Triadic 1#BB187D
Triadic 2#7DBB18
Tetradic#A818BB

RGB percentages

Red9.4%
Green49.0%
Blue73.3%

CMYK percentages

Cyan87.2%
Magenta33.2%
Yellow0.0%
Key (black)26.7%

Color previews

#187dbb text on a black background

contrast 4.69:1

Card sample

#187dbb text on a white background

contrast 4.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #187dbb;
Background color
Panel with #187dbb background
background-color: #187dbb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #187dbb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(24, 125, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 125, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #187dbb;
background: linear-gradient(135deg, #187dbb, #2018BB);

Monochromatic scale

Palettes built from #187dbb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#187dbb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#187dbb, answered

What color is #187dbb?

#187dbb is a dark electric blue, closest to Steel Blue (ΔE2000 3.8). It sits at 203° on the hue wheel with 77% saturation and 41% lightness, which reads as cool.

What is the RGB value of #187dbb?

rgb(24, 125, 187) — 24 red, 125 green and 187 blue out of 255, or 9.4% / 49% / 73.3% by channel.

Is #187dbb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1845 and perceived brightness is 45%, so black text on it reaches 4.69:1.

Should I use black or white text on #187dbb?

Black. It scores 4.69:1 against #187dbb, versus 4.48:1 for white — AA at any size.

What is the complementary color of #187dbb?

#BB5618 sits directly opposite on the wheel. Softer options are the split-complements #BB182C and #BBA818, which give the same contrast with far less vibration.

What colors go well with #187dbb?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7C9B for secondary text, #BF2A14 as an accent and #0E4C71 for hover and pressed states. For a palette, the analogous pair #18BBA8 and #182CBB stays calm, while #BB5618 is the loudest partner.

What is #187dbb in CMYK for printing?

cmyk(87%, 33%, 0%, 27%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #187dbb warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #18B9BB; nudged cooler, #1363A6.

Work with #187dbb in the Color Lab