#213C95#213C95

#213C95 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.150 H 266.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#213C95
RGBrgb(33, 60, 149)
HSLhsl(226, 64%, 36%)
HSVhsv(226, 78%, 58%)
CMYKcmyk(77.9%, 59.7%, 0%, 41.6%)
CIE-LABlab(28.71, 23.33, -51.79)
CIE-LCHlch(28.71, 56.81, 294.25°)
OKLaboklab(39.41% -0.0092 -0.1496)
OKLCHoklch(39.41% 0.15 266.5)
XYZxyz(7.6660, 5.7241, 29.1288)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C95 #957A21
analogous
#217695 #213C95 #402195
triadic
#213C95 #95213C #3C9521
tetradic
#213C95 #952176 #957A21 #219540
square
#213C95 #952176 #957A21 #219540
split-complementary
#213C95 #954021 #769521
monochromatic
#0B1431 #162863 #213C95 #2C50C7 #5775DA

Accessibility & contrast

On white

9.79
#213C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#213C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C95
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C95#FFFFFF#000000##FFFFFF
##213C951.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213c95;
/* rgb */ color: rgb(33, 60, 149);
/* oklch */ color: oklch(39.4% 0.150 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f71b5',
    500: '#213c95',
    950: '#000000',
  },
}
SCSS
$custom: #213c95;
$custom-light: #6f71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#213c95",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 226.034,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.14984,
    "h": 266.5
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#213C95
secondary
#BEA554
accent
#C041E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213C95

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

Preview Lab → · Contrast checker → · Palette generator →

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