#214781#214781

#214781 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.107 H 258.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#214781
RGBrgb(33, 71, 129)
HSLhsl(216, 59%, 32%)
HSVhsv(216, 74%, 51%)
CMYKcmyk(74.4%, 45%, 0%, 49.4%)
CIE-LABlab(30.43, 7.84, -36.66)
CIE-LCHlch(30.43, 37.49, 282.07°)
OKLaboklab(40.26% -0.0209 -0.1049)
OKLCHoklch(40.26% 0.107 258.7)
XYZxyz(6.8414, 6.4140, 21.6421)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214781 #815B21
analogous
#217781 #214781 #2B2181
triadic
#214781 #812147 #478121
tetradic
#214781 #812177 #815B21 #21812B
square
#214781 #812177 #815B21 #21812B
split-complementary
#214781 #812B21 #778121
monochromatic
#081120 #152C50 #214781 #2D62B2 #4B80D1

Accessibility & contrast

On white

9.20
#214781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#214781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214781
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214781#FFFFFF#000000##FFFFFF
##2147811.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C83
Deuteranopia (green-blind)
#194480
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #214781;
/* rgb */ color: rgb(33, 71, 129);
/* oklch */ color: oklch(40.3% 0.107 258.7);
Tailwind
colors: {
  custom: {
    50: '#6a79a6',
    500: '#214781',
    950: '#000000',
  },
}
SCSS
$custom: #214781;
$custom-light: #6a79a6;
$custom-dark: #000000;
JSON
{
  "hex": "#214781",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 216.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40262,
    "c": 0.10692,
    "h": 258.7
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#214781
secondary
#B48A4A
accent
#A445E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #214781

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

Preview Lab → · Contrast checker → · Palette generator →

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