#214D8B#214D8B

#214D8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.114 H 257.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#214D8B
RGBrgb(33, 77, 139)
HSLhsl(215, 62%, 34%)
HSVhsv(215, 76%, 55%)
CMYKcmyk(76.3%, 44.6%, 0%, 45.5%)
CIE-LABlab(32.91, 7.76, -38.88)
CIE-LCHlch(32.91, 39.64, 281.30°)
OKLaboklab(42.38% -0.0245 -0.1113)
OKLCHoklch(42.38% 0.114 257.6)
XYZxyz(7.9396, 7.4943, 25.4492)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214D8B #8B5F21
analogous
#21828B #214D8B #2A218B
triadic
#214D8B #8B214D #4D8B21
tetradic
#214D8B #8B2182 #8B5F21 #218B2A
square
#214D8B #8B2182 #8B5F21 #218B2A
split-complementary
#214D8B #8B2A21 #828B21
monochromatic
#0A1628 #15325A #214D8B #2D68BC #5188D6

Accessibility & contrast

On white

8.40
#214D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#214D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214D8B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214D8B#FFFFFF#000000##FFFFFF
##214D8B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538D
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #214d8b;
/* rgb */ color: rgb(33, 77, 139);
/* oklch */ color: oklch(42.4% 0.114 257.6);
Tailwind
colors: {
  custom: {
    50: '#6c7ead',
    500: '#214d8b',
    950: '#000000',
  },
}
SCSS
$custom: #214d8b;
$custom-light: #6c7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#214d8b",
  "rgb": {
    "r": 33,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 215.094,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42381,
    "c": 0.11393,
    "h": 257.6
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#214D8B
secondary
#B98D4F
accent
#A243E5
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #214D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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