#213786#213786

#213786 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.135 H 267.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#213786
RGBrgb(33, 55, 134)
HSLhsl(227, 60%, 33%)
HSVhsv(227, 75%, 53%)
CMYKcmyk(75.4%, 59%, 0%, 47.5%)
CIE-LABlab(26.09, 20.88, -46.79)
CIE-LCHlch(26.09, 51.24, 294.05°)
OKLaboklab(37.07% -0.0059 -0.1349)
OKLCHoklch(37.07% 0.135 267.5)
XYZxyz(6.2950, 4.7763, 23.1398)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213786 #867021
analogous
#216986 #213786 #3E2186
triadic
#213786 #862137 #378621
tetradic
#213786 #862169 #867021 #21863E
square
#213786 #862169 #867021 #21863E
split-complementary
#213786 #863E21 #698621
monochromatic
#090F24 #152355 #213786 #2D4BB7 #4E6BD3

Accessibility & contrast

On white

10.74
#213786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#213786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213786
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213786#FFFFFF#000000##FFFFFF
##2137861.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213786;
/* rgb */ color: rgb(33, 55, 134);
/* oklch */ color: oklch(37.1% 0.135 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c6daa',
    500: '#213786',
    950: '#000000',
  },
}
SCSS
$custom: #213786;
$custom-light: #6c6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#213786",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 226.931,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37066,
    "c": 0.13507,
    "h": 267.5
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#213786
secondary
#B79F4C
accent
#C144E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213786

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

Preview Lab → · Contrast checker → · Palette generator →

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