#427ED4#427ED4

#427ED4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.146 H 257.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#427ED4
RGBrgb(66, 126, 212)
HSLhsl(215, 63%, 55%)
HSVhsv(215, 69%, 83%)
CMYKcmyk(68.9%, 40.6%, 0%, 16.9%)
CIE-LABlab(52.76, 8.66, -49.98)
CIE-LCHlch(52.76, 50.72, 279.83°)
OKLaboklab(59.52% -0.0312 -0.1426)
OKLCHoklch(59.52% 0.146 257.7)
XYZxyz(21.5870, 20.8312, 65.1577)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427ED4 #D49842
analogous
#42C7D4 #427ED4 #4F42D4
triadic
#427ED4 #D4427E #7ED442
tetradic
#427ED4 #D442C7 #D49842 #42D44F
square
#427ED4 #D442C7 #D49842 #42D44F
split-complementary
#427ED4 #D44F42 #C7D442
monochromatic
#1D457F #2860B1 #427ED4 #74A0DF #A6C2EB

Accessibility & contrast

On white

4.06
#427ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#427ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #427ED4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427ED4#FFFFFF#000000##000000
##427ED41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#3F78D2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #427ed4;
/* rgb */ color: rgb(66, 126, 212);
/* oklch */ color: oklch(59.5% 0.146 257.7);
Tailwind
colors: {
  custom: {
    50: '#86a2e2',
    500: '#427ed4',
    950: '#000000',
  },
}
SCSS
$custom: #427ed4;
$custom-light: #86a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#427ed4",
  "rgb": {
    "r": 66,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 215.342,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.14593,
    "h": 257.7
  },
  "luminance": 0.20833
}

Semantic roles & 50–950 ramp

primary
#427ED4
secondary
#D8BE9A
accent
#A342E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #427ED4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#427ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva