#213481#213481

#213481 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.132 H 268.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#213481
RGBrgb(33, 52, 129)
HSLhsl(228, 59%, 32%)
HSVhsv(228, 74%, 51%)
CMYKcmyk(74.4%, 59.7%, 0%, 49.4%)
CIE-LABlab(24.84, 21.00, -45.69)
CIE-LCHlch(24.84, 50.29, 294.69°)
OKLaboklab(36% -0.0037 -0.1318)
OKLCHoklch(36% 0.132 268.4)
XYZxyz(5.8163, 4.3637, 21.3004)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213481 #816E21
analogous
#216481 #213481 #3E2181
triadic
#213481 #812134 #348121
tetradic
#213481 #812164 #816E21 #21813E
square
#213481 #812164 #816E21 #21813E
split-complementary
#213481 #813E21 #648121
monochromatic
#080D20 #152050 #213481 #2D48B2 #4B66D1

Accessibility & contrast

On white

11.21
#213481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213481
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213481#FFFFFF#000000##FFFFFF
##2134811.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213481;
/* rgb */ color: rgb(33, 52, 129);
/* oklch */ color: oklch(36.0% 0.132 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ba6',
    500: '#213481',
    950: '#000000',
  },
}
SCSS
$custom: #213481;
$custom-light: #6b6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#213481",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 228.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.13181,
    "h": 268.4
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#213481
secondary
#B49F4A
accent
#C345E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213481

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

Preview Lab → · Contrast checker → · Palette generator →

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