#213E95#213E95

#213E95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.147 H 265.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#213E95
RGBrgb(33, 62, 149)
HSLhsl(225, 64%, 36%)
HSVhsv(225, 78%, 58%)
CMYKcmyk(77.9%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.25, 21.96, -50.90)
CIE-LCHlch(29.25, 55.43, 293.34°)
OKLaboklab(39.82% -0.0106 -0.1469)
OKLCHoklch(39.82% 0.147 265.9)
XYZxyz(7.7727, 5.9376, 29.1644)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E95 #957821
analogous
#217895 #213E95 #3E2195
triadic
#213E95 #95213E #3E9521
tetradic
#213E95 #952178 #957821 #21953E
square
#213E95 #952178 #957821 #21953E
split-complementary
#213E95 #953E21 #789521
monochromatic
#0B1431 #162963 #213E95 #2C53C7 #5777DA

Accessibility & contrast

On white

9.60
#213E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#213E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E95
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E95#FFFFFF#000000##FFFFFF
##213E951.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213e95;
/* rgb */ color: rgb(33, 62, 149);
/* oklch */ color: oklch(39.8% 0.147 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f72b5',
    500: '#213e95',
    950: '#000000',
  },
}
SCSS
$custom: #213e95;
$custom-light: #6f72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#213e95",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 225,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.14728,
    "h": 265.9
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#213E95
secondary
#BEA354
accent
#BD41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213E95

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

Preview Lab → · Contrast checker → · Palette generator →

#213E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva