#213985#213985

#213985 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.131 H 266.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#213985
RGBrgb(33, 57, 133)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 52%)
CMYKcmyk(75.2%, 57.1%, 0%, 47.8%)
CIE-LABlab(26.57, 19.10, -45.38)
CIE-LCHlch(26.57, 49.24, 292.83°)
OKLaboklab(37.4% -0.0076 -0.1308)
OKLCHoklch(37.4% 0.131 266.7)
XYZxyz(6.3225, 4.9424, 22.8065)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213985 #856D21
analogous
#216B85 #213985 #3B2185
triadic
#213985 #852139 #398521
tetradic
#213985 #85216B #856D21 #21853B
square
#213985 #85216B #856D21 #21853B
split-complementary
#213985 #853B21 #6B8521
monochromatic
#090F23 #152454 #213985 #2D4EB6 #4D6DD3

Accessibility & contrast

On white

10.56
#213985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213985
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213985#FFFFFF#000000##FFFFFF
##2139851.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213985;
/* rgb */ color: rgb(33, 57, 133);
/* oklch */ color: oklch(37.4% 0.131 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b6fa9',
    500: '#213985',
    950: '#000000',
  },
}
SCSS
$custom: #213985;
$custom-light: #6b6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#213985",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 225.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37403,
    "c": 0.13099,
    "h": 266.7
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#213985
secondary
#B69D4C
accent
#BD44E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213985

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

Preview Lab → · Contrast checker → · Palette generator →

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