#213D95#213D95

#213D95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.149 H 266.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#213D95
RGBrgb(33, 61, 149)
HSLhsl(226, 64%, 36%)
HSVhsv(226, 78%, 58%)
CMYKcmyk(77.9%, 59.1%, 0%, 41.6%)
CIE-LABlab(28.98, 22.65, -51.35)
CIE-LCHlch(28.98, 56.12, 293.80°)
OKLaboklab(39.62% -0.0099 -0.1482)
OKLCHoklch(39.62% 0.149 266.2)
XYZxyz(7.7189, 5.8299, 29.1464)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D95 #957921
analogous
#217795 #213D95 #3F2195
triadic
#213D95 #95213D #3D9521
tetradic
#213D95 #952177 #957921 #21953F
square
#213D95 #952177 #957921 #21953F
split-complementary
#213D95 #953F21 #779521
monochromatic
#0B1431 #162863 #213D95 #2C52C7 #5776DA

Accessibility & contrast

On white

9.69
#213D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#213D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D95
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D95#FFFFFF#000000##FFFFFF
##213D951.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213d95;
/* rgb */ color: rgb(33, 61, 149);
/* oklch */ color: oklch(39.6% 0.149 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f72b5',
    500: '#213d95',
    950: '#000000',
  },
}
SCSS
$custom: #213d95;
$custom-light: #6f72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#213d95",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 225.517,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.14857,
    "h": 266.2
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#213D95
secondary
#BEA454
accent
#BF41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213D95

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

Preview Lab → · Contrast checker → · Palette generator →

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