#214791#214791

#214791 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.130 H 262.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#214791
RGBrgb(33, 71, 145)
HSLhsl(220, 63%, 35%)
HSVhsv(220, 77%, 57%)
CMYKcmyk(77.2%, 51%, 0%, 43.1%)
CIE-LABlab(31.52, 14.21, -44.78)
CIE-LCHlch(31.52, 46.99, 287.61°)
OKLaboklab(41.44% -0.0181 -0.1288)
OKLCHoklch(41.44% 0.13 262)
XYZxyz(7.9894, 6.8732, 27.6882)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214791 #916B21
analogous
#217F91 #214791 #332191
triadic
#214791 #912147 #479121
tetradic
#214791 #91217F #916B21 #219133
square
#214791 #91217F #916B21 #219133
split-complementary
#214791 #913321 #7F9121
monochromatic
#0A162D #162F5F #214791 #2C5FC3 #5481D8

Accessibility & contrast

On white

8.84
#214791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#214791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214791
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214791#FFFFFF#000000##FFFFFF
##2147911.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #214791;
/* rgb */ color: rgb(33, 71, 145);
/* oklch */ color: oklch(41.4% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#6d79b2',
    500: '#214791',
    950: '#000000',
  },
}
SCSS
$custom: #214791;
$custom-light: #6d79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#214791",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 219.643,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.13003,
    "h": 262
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#214791
secondary
#BC9852
accent
#AE42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #214791

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

Preview Lab → · Contrast checker → · Palette generator →

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