Skip to content

#3987af

a balanced, vivid blue · cool · closest name: Steel Blue

RGB
57, 135, 175
HSL
200°, 51%, 46%
CMYK
67, 23, 0, 31
Luminance
0.2129

At a glance

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

Hex
#3987af
Hue
200°
blue
Saturation
51%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2129
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.26:1
Closest name
Steel Blue
ΔE2000 4.8
Where it sits
Hue200° of 360°
Saturation51%
Lightness46%
Temperature
Warm ← → Cool96% 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#3987af
RGBrgb(57, 135, 175)
HSLhsl(200, 51%, 46%)
CMYKcmyk(67%, 23%, 0%, 31%)
LABlab(53.3 -11.0 -28.1)
LCHlch(53.3 30.2 248.7)
OKLCHoklch(0.592 0.097 234.2)
Decimal3770287
Display P3color(display-p3 0.224 0.529 0.686)

Copy-ready code

/* CSS */
color: #3987af;
background-color: #3987af;
/* Tailwind (arbitrary) */
class="text-[#3987af] bg-[#3987af]"
/* SCSS */
$brand: #3987af;
/* SwiftUI */
Color(red: 0.224, green: 0.529, blue: 0.686)
/* Android */
Color.parseColor("#3987af")
/* Flutter */
Color(0xFF3987AF)
/* Python / OpenCV (BGR) */
(175, 135, 57)

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 #3987af · 5.26:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.99:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.26:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #3987af as text scores 3.99:1 on white and 5.26:1 on black.

Accessibility — WCAG contrast

Aa
#3987af on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#3987af on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7486B1
deuteranopia · #637AAE
tritanopia · #009294

Color scale — 50 to 950

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

#F4F8FA
#EAF2F6
#CFE3ED
#AAD0E3
#80B9D6
#56A1C8
#3987af
#32779A
#285F7B
#21465A
#142C38
Base = 600Lightest = 50 · #F4F8FADarkest = 950 · #142C38
:root {
  --brand-50: #F4F8FA;
  --brand-100: #EAF2F6;
  --brand-200: #CFE3ED;
  --brand-300: #AAD0E3;
  --brand-400: #80B9D6;
  --brand-500: #56A1C8;
  --brand-600: #3987af;
  --brand-700: #32779A;
  --brand-800: #285F7B;
  --brand-900: #21465A;
  --brand-950: #142C38;
  --brand: #3987af;
  --brand-ink: #000000;
}

Colors that work with #3987af

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#C1DDEB
Hairlines and dividers
Muted text#4B809B
Captions on the surface
Accent#B44034
Second voice, not a rival
Dark variant#1F4A60
Hover, pressed, headers
Light variant#ECF4F9
Selected rows, tints
Dark surface#141F24
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 #3987af

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#AF6139
Analogous left#39AF9C
Analogous right#394CAF
Split-complement 1#AF394C
Split-complement 2#AF9C39
Triadic 1#AF3987
Triadic 2#87AF39
Tetradic#9C39AF

RGB percentages

Red22.4%
Green52.9%
Blue68.6%

CMYK percentages

Cyan67.4%
Magenta22.9%
Yellow0.0%
Key (black)31.4%

Color previews

#3987af text on a black background

contrast 5.26:1

Card sample

#3987af text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3987af;
Background color
Panel with #3987af background
background-color: #3987af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3987af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 135, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 135, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3987af;
background: linear-gradient(135deg, #3987af, #3A39AF);

Monochromatic scale

Palettes built from #3987af

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.

#3987af 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

Converts to four-color process without much drama. Proof it anyway.

#3987af, answered

What color is #3987af?

#3987af is a balanced vivid blue, closest to Steel Blue (ΔE2000 4.8). It sits at 200° on the hue wheel with 51% saturation and 46% lightness, which reads as cool.

What is the RGB value of #3987af?

rgb(57, 135, 175) — 57 red, 135 green and 175 blue out of 255, or 22.4% / 52.9% / 68.6% by channel.

Is #3987af a light or a dark color?

It is a mid-tone. Relative luminance is 0.2129 and perceived brightness is 48%, so black text on it reaches 5.26:1.

Should I use black or white text on #3987af?

Black. It scores 5.26:1 against #3987af, versus 3.99:1 for white — AA at any size.

What is the complementary color of #3987af?

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

What colors go well with #3987af?

For interface work: #F4F8FA as the surface, #C1DDEB for borders, #4B809B for secondary text, #B44034 as an accent and #1F4A60 for hover and pressed states. For a palette, the analogous pair #39AF9C and #394CAF stays calm, while #AF6139 is the loudest partner.

What is #3987af in CMYK for printing?

cmyk(67%, 23%, 0%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #3987af warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #39AFAC; nudged cooler, #3779B1.

Work with #3987af in the Color Lab