#213781#213781

#213781 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.128 H 267.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#213781
RGBrgb(33, 55, 129)
HSLhsl(226, 59%, 32%)
HSVhsv(226, 74%, 51%)
CMYKcmyk(74.4%, 57.4%, 0%, 49.4%)
CIE-LABlab(25.68, 18.91, -44.32)
CIE-LCHlch(25.68, 48.18, 293.11°)
OKLaboklab(36.64% -0.0062 -0.1277)
OKLCHoklch(36.64% 0.128 267.2)
XYZxyz(5.9545, 4.6401, 21.3464)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213781 #816B21
analogous
#216781 #213781 #3B2181
triadic
#213781 #812137 #378121
tetradic
#213781 #812167 #816B21 #21813B
square
#213781 #812167 #816B21 #21813B
split-complementary
#213781 #813B21 #678121
monochromatic
#080D20 #152250 #213781 #2D4CB2 #4B6AD1

Accessibility & contrast

On white

10.89
#213781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213781
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213781#FFFFFF#000000##FFFFFF
##2137811.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213781;
/* rgb */ color: rgb(33, 55, 129);
/* oklch */ color: oklch(36.6% 0.128 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a6da6',
    500: '#213781',
    950: '#000000',
  },
}
SCSS
$custom: #213781;
$custom-light: #6a6da6;
$custom-dark: #000000;
JSON
{
  "hex": "#213781",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 226.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.12782,
    "h": 267.2
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#213781
secondary
#B49B4A
accent
#BE45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213781

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

Preview Lab → · Contrast checker → · Palette generator →

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