#214788#214788

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

Color values

HEX#214788
RGBrgb(33, 71, 136)
HSLhsl(218, 61%, 33%)
HSVhsv(218, 76%, 53%)
CMYKcmyk(75.7%, 47.8%, 0%, 46.7%)
CIE-LABlab(30.89, 10.63, -40.26)
CIE-LCHlch(30.89, 41.64, 284.79°)
OKLaboklab(40.77% -0.0195 -0.1154)
OKLCHoklch(40.77% 0.117 260.4)
XYZxyz(7.3228, 6.6066, 24.1770)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214788 #886221
analogous
#217A88 #214788 #2E2188
triadic
#214788 #882147 #478821
tetradic
#214788 #88217A #886221 #21882E
square
#214788 #88217A #886221 #21882E
split-complementary
#214788 #882E21 #7A8821
monochromatic
#091425 #152D57 #214788 #2D61B9 #4F80D4

Accessibility & contrast

On white

9.05
#214788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#214788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214788
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214788#FFFFFF#000000##FFFFFF
##2147881.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#0C4487
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #214788;
/* rgb */ color: rgb(33, 71, 136);
/* oklch */ color: oklch(40.8% 0.117 260.4);
Tailwind
colors: {
  custom: {
    50: '#6b79ab',
    500: '#214788',
    950: '#000000',
  },
}
SCSS
$custom: #214788;
$custom-light: #6b79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#214788",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 217.864,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.11708,
    "h": 260.4
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#214788
secondary
#B8904D
accent
#A944E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #214788

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

Preview Lab → · Contrast checker → · Palette generator →

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