#213B95#213B95

#213B95 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.151 H 266.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#213B95
RGBrgb(33, 59, 149)
HSLhsl(227, 64%, 36%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(77.9%, 60.4%, 0%, 41.6%)
CIE-LABlab(28.43, 24.02, -52.23)
CIE-LCHlch(28.43, 57.49, 294.69°)
OKLaboklab(39.21% -0.0085 -0.1509)
OKLCHoklch(39.21% 0.151 266.8)
XYZxyz(7.6141, 5.6203, 29.1115)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B95 #957B21
analogous
#217595 #213B95 #412195
triadic
#213B95 #95213B #3B9521
tetradic
#213B95 #952175 #957B21 #219541
square
#213B95 #952175 #957B21 #219541
split-complementary
#213B95 #954121 #759521
monochromatic
#0B1331 #162763 #213B95 #2C4FC7 #5774DA

Accessibility & contrast

On white

9.89
#213B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#213B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B95
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B95#FFFFFF#000000##FFFFFF
##213B951.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213b95;
/* rgb */ color: rgb(33, 59, 149);
/* oklch */ color: oklch(39.2% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f70b5',
    500: '#213b95',
    950: '#000000',
  },
}
SCSS
$custom: #213b95;
$custom-light: #6f70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#213b95",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 226.552,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3921,
    "c": 0.15112,
    "h": 266.8
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#213B95
secondary
#BEA654
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213B95

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

Preview Lab → · Contrast checker → · Palette generator →

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