#214787#214787

#214787 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.116 H 260.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#214787
RGBrgb(33, 71, 135)
HSLhsl(218, 61%, 33%)
HSVhsv(218, 76%, 53%)
CMYKcmyk(75.6%, 47.4%, 0%, 47.1%)
CIE-LABlab(30.83, 10.23, -39.75)
CIE-LCHlch(30.83, 41.04, 284.43°)
OKLaboklab(40.69% -0.0197 -0.1139)
OKLCHoklch(40.69% 0.116 260.2)
XYZxyz(7.2520, 6.5783, 23.8045)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214787 #876121
analogous
#217A87 #214787 #2E2187
triadic
#214787 #872147 #478721
tetradic
#214787 #87217A #876121 #21872E
square
#214787 #87217A #876121 #21872E
split-complementary
#214787 #872E21 #7A8721
monochromatic
#091325 #152D56 #214787 #2D61B8 #4F80D4

Accessibility & contrast

On white

9.07
#214787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #214787
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214787#FFFFFF#000000##FFFFFF
##2147871.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #214787;
/* rgb */ color: rgb(33, 71, 135);
/* oklch */ color: oklch(40.7% 0.116 260.2);
Tailwind
colors: {
  custom: {
    50: '#6b79aa',
    500: '#214787',
    950: '#000000',
  },
}
SCSS
$custom: #214787;
$custom-light: #6b79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#214787",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 217.647,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.11563,
    "h": 260.2
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#214787
secondary
#B78F4D
accent
#A844E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #214787

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

Preview Lab → · Contrast checker → · Palette generator →

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