#214789#214789

#214789 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.119 H 260.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#214789
RGBrgb(33, 71, 137)
HSLhsl(218, 61%, 33%)
HSVhsv(218, 76%, 54%)
CMYKcmyk(75.9%, 48.2%, 0%, 46.3%)
CIE-LABlab(30.96, 11.03, -40.77)
CIE-LCHlch(30.96, 42.23, 285.13°)
OKLaboklab(40.84% -0.0194 -0.1169)
OKLCHoklch(40.84% 0.119 260.6)
XYZxyz(7.3942, 6.6351, 24.5531)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214789 #896321
analogous
#217B89 #214789 #2F2189
triadic
#214789 #892147 #478921
tetradic
#214789 #89217B #896321 #21892F
square
#214789 #89217B #896321 #21892F
split-complementary
#214789 #892F21 #7B8921
monochromatic
#091426 #152D58 #214789 #2D61BA #5080D5

Accessibility & contrast

On white

9.02
#214789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#214789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214789
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214789#FFFFFF#000000##FFFFFF
##2147891.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#094488
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #214789;
/* rgb */ color: rgb(33, 71, 137);
/* oklch */ color: oklch(40.8% 0.119 260.6);
Tailwind
colors: {
  custom: {
    50: '#6b79ac',
    500: '#214789',
    950: '#000000',
  },
}
SCSS
$custom: #214789;
$custom-light: #6b79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#214789",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 218.077,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40838,
    "c": 0.11853,
    "h": 260.6
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#214789
secondary
#B8914E
accent
#AA44E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #214789

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

Preview Lab → · Contrast checker → · Palette generator →

#214789 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva