#213886#213886

#213886 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.134 H 267.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#213886
RGBrgb(33, 56, 134)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 53%)
CMYKcmyk(75.4%, 58.2%, 0%, 47.5%)
CIE-LABlab(26.37, 20.19, -46.33)
CIE-LCHlch(26.37, 50.54, 293.55°)
OKLaboklab(37.28% -0.0067 -0.1336)
OKLCHoklch(37.28% 0.134 267.1)
XYZxyz(6.3429, 4.8722, 23.1558)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213886 #866F21
analogous
#216A86 #213886 #3D2186
triadic
#213886 #862138 #388621
tetradic
#213886 #86216A #866F21 #21863D
square
#213886 #86216A #866F21 #21863D
split-complementary
#213886 #863D21 #6A8621
monochromatic
#090F24 #152355 #213886 #2D4DB7 #4E6CD3

Accessibility & contrast

On white

10.64
#213886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213886
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213886#FFFFFF#000000##FFFFFF
##2138861.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213886;
/* rgb */ color: rgb(33, 56, 134);
/* oklch */ color: oklch(37.3% 0.134 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c6eaa',
    500: '#213886',
    950: '#000000',
  },
}
SCSS
$custom: #213886;
$custom-light: #6c6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#213886",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 226.337,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.13375,
    "h": 267.1
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#213886
secondary
#B79E4C
accent
#BF44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213886

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

Preview Lab → · Contrast checker → · Palette generator →

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