#214F9F#214F9F

#214F9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.140 H 260.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#214F9F
RGBrgb(33, 79, 159)
HSLhsl(218, 66%, 38%)
HSVhsv(218, 79%, 62%)
CMYKcmyk(79.2%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.84, 14.36, -47.91)
CIE-LCHlch(34.84, 50.02, 286.69°)
OKLaboklab(44.3% -0.0227 -0.1378)
OKLCHoklch(44.3% 0.14 260.6)
XYZxyz(9.6789, 8.4174, 33.9088)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214F9F #9F7121
analogous
#218E9F #214F9F #32219F
triadic
#214F9F #9F214F #4F9F21
tetradic
#214F9F #9F218E #9F7121 #219F32
square
#214F9F #9F218E #9F7121 #219F32
split-complementary
#214F9F #9F3221 #8E9F21
monochromatic
#0C1D3A #16366C #214F9F #2C68D2 #5D8CDD

Accessibility & contrast

On white

7.82
#214F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#214F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214F9F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214F9F#FFFFFF#000000##FFFFFF
##214F9F1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #214f9f;
/* rgb */ color: rgb(33, 79, 159);
/* oklch */ color: oklch(44.3% 0.140 260.6);
Tailwind
colors: {
  custom: {
    50: '#707fbc',
    500: '#214f9f',
    950: '#000000',
  },
}
SCSS
$custom: #214f9f;
$custom-light: #707fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#214f9f",
  "rgb": {
    "r": 33,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 218.095,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.13968,
    "h": 260.6
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#214F9F
secondary
#C29C5A
accent
#AB3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #214F9F

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

Preview Lab → · Contrast checker → · Palette generator →

#214F9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva