#213A85#213A85

#213A85 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.130 H 266.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#213A85
RGBrgb(33, 58, 133)
HSLhsl(225, 60%, 33%)
HSVhsv(225, 75%, 52%)
CMYKcmyk(75.2%, 56.4%, 0%, 47.8%)
CIE-LABlab(26.85, 18.40, -44.92)
CIE-LCHlch(26.85, 48.54, 292.28°)
OKLaboklab(37.62% -0.0084 -0.1294)
OKLCHoklch(37.62% 0.13 266.3)
XYZxyz(6.3724, 5.0422, 22.8232)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A85 #856C21
analogous
#216C85 #213A85 #3A2185
triadic
#213A85 #85213A #3A8521
tetradic
#213A85 #85216C #856C21 #21853A
square
#213A85 #85216C #856C21 #21853A
split-complementary
#213A85 #853A21 #6C8521
monochromatic
#090F23 #152554 #213A85 #2D4FB6 #4D6FD3

Accessibility & contrast

On white

10.46
#213A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A85
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A85#FFFFFF#000000##FFFFFF
##213A851.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213a85;
/* rgb */ color: rgb(33, 58, 133);
/* oklch */ color: oklch(37.6% 0.130 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b6fa9',
    500: '#213a85',
    950: '#000000',
  },
}
SCSS
$custom: #213a85;
$custom-light: #6b6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#213a85",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 225,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.12967,
    "h": 266.3
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#213A85
secondary
#B69B4C
accent
#BC44E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213A85

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

Preview Lab → · Contrast checker → · Palette generator →

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