Skip to content

#427fdf

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

RGB
66, 127, 223
HSL
217°, 71%, 57%
CMYK
70, 43, 0, 13
Luminance
0.2166

At a glance

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

Hex
#427fdf
Hue
217°
blue
Saturation
71%
vivid
Lightness
57%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2166
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.33:1
Closest name
Steel Blue
ΔE2000 5.5
Where it sits
Hue217° of 360°
Saturation71%
Lightness57%
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#427fdf
RGBrgb(66, 127, 223)
HSLhsl(217, 71%, 57%)
CMYKcmyk(70%, 43%, 0%, 13%)
LABlab(53.7 12.0 -54.7)
LCHlch(53.7 56.0 282.3)
OKLCHoklch(0.604 0.159 259.2)
Decimal4358111
Display P3color(display-p3 0.259 0.498 0.875)

Copy-ready code

/* CSS */
color: #427fdf;
background-color: #427fdf;
/* Tailwind (arbitrary) */
class="text-[#427fdf] bg-[#427fdf]"
/* SCSS */
$brand: #427fdf;
/* SwiftUI */
Color(red: 0.259, green: 0.498, blue: 0.875)
/* Android */
Color.parseColor("#427fdf")
/* Flutter */
Color(0xFF427FDF)
/* Python / OpenCV (BGR) */
(223, 127, 66)

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

Accessibility — WCAG contrast

Aa
#427fdf on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#427fdf on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5088E3
deuteranopia · #347ADD
tritanopia · #0095A4

Color scale — 50 to 950

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

#F3F6FC
#E7EEF8
#C9D9F3
#9FBEEF
#6F9EE7
#427fdf
#2367D1
#1E56AE
#18458C
#153465
#0D213F
Base = 500Lightest = 50 · #F3F6FCDarkest = 950 · #0D213F
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7EEF8;
  --brand-200: #C9D9F3;
  --brand-300: #9FBEEF;
  --brand-400: #6F9EE7;
  --brand-500: #427fdf;
  --brand-600: #2367D1;
  --brand-700: #1E56AE;
  --brand-800: #18458C;
  --brand-900: #153465;
  --brand-950: #0D213F;
  --brand: #427fdf;
  --brand-ink: #000000;
}

Colors that work with #427fdf

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#F4F7FA
Tinted page background
Border#C0D1ED
Hairlines and dividers
Muted text#4B6A9B
Captions on the surface
Accent#B2511A
Second voice, not a rival
Dark variant#12366D
Hover, pressed, headers
Light variant#E9F0FB
Selected rows, tints
Dark surface#141A24
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 #427fdf

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#DFA242
Analogous left#42CDDF
Analogous right#5442DF
Split-complement 1#DF5442
Split-complement 2#CDDF42
Triadic 1#DF427F
Triadic 2#7FDF42
Tetradic#DF42CD

RGB percentages

Red25.9%
Green49.8%
Blue87.5%

CMYK percentages

Cyan70.4%
Magenta43.0%
Yellow0.0%
Key (black)12.5%

Color previews

#427fdf text on a black background

contrast 5.33:1

Card sample

#427fdf text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #427fdf;
Background color
Panel with #427fdf background
background-color: #427fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #427fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(66, 127, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 127, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #427fdf;
background: linear-gradient(135deg, #427fdf, #6E42DF);

Monochromatic scale

Palettes built from #427fdf

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.

#427fdf 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.

#427fdf, answered

What color is #427fdf?

#427fdf is a balanced vivid blue, closest to Steel Blue (ΔE2000 5.5). It sits at 217° on the hue wheel with 71% saturation and 57% lightness, which reads as cool.

What is the RGB value of #427fdf?

rgb(66, 127, 223) — 66 red, 127 green and 223 blue out of 255, or 25.9% / 49.8% / 87.5% by channel.

Is #427fdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2166 and perceived brightness is 50%, so black text on it reaches 5.33:1.

Should I use black or white text on #427fdf?

Black. It scores 5.33:1 against #427fdf, versus 3.94:1 for white — AA at any size.

What is the complementary color of #427fdf?

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

What colors go well with #427fdf?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B6A9B for secondary text, #B2511A as an accent and #12366D for hover and pressed states. For a palette, the analogous pair #42CDDF and #5442DF stays calm, while #DFA242 is the loudest partner.

What is #427fdf in CMYK for printing?

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

Is #427fdf 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 #4246DF; nudged cooler, #2A78DE.

Work with #427fdf in the Color Lab