#427AD4#427AD4

#427AD4 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.150 H 259.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#427AD4
RGBrgb(66, 122, 212)
HSLhsl(217, 63%, 55%)
HSVhsv(217, 69%, 83%)
CMYKcmyk(68.9%, 42.5%, 0%, 16.9%)
CIE-LABlab(51.64, 11.12, -51.77)
CIE-LCHlch(51.64, 52.95, 282.12°)
OKLaboklab(58.65% -0.0275 -0.1479)
OKLCHoklch(58.65% 0.15 259.5)
XYZxyz(21.0857, 19.8286, 64.9906)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#427AD4 #D49C42
analogous
#42C3D4 #427AD4 #5342D4
triadic
#427AD4 #D4427A #7AD442
tetradic
#427AD4 #D442C3 #D49C42 #42D453
square
#427AD4 #D442C3 #D49C42 #42D453
split-complementary
#427AD4 #D45342 #C3D442
monochromatic
#1D427F #285DB1 #427AD4 #749DDF #A6C0EB

Accessibility & contrast

On white

4.23
#427AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#427AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #427AD4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##427AD4#FFFFFF#000000##000000
##427AD41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D7
Deuteranopia (green-blind)
#3675D2
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #427ad4;
/* rgb */ color: rgb(66, 122, 212);
/* oklch */ color: oklch(58.6% 0.150 259.5);
Tailwind
colors: {
  custom: {
    50: '#869fe2',
    500: '#427ad4',
    950: '#000000',
  },
}
SCSS
$custom: #427ad4;
$custom-light: #869fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#427ad4",
  "rgb": {
    "r": 66,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 216.986,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.15041,
    "h": 259.5
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#427AD4
secondary
#D8C09A
accent
#A742E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #427AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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