#213885#213885

#213885 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.132 H 267.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#213885
RGBrgb(33, 56, 133)
HSLhsl(226, 60%, 33%)
HSVhsv(226, 75%, 52%)
CMYKcmyk(75.2%, 57.9%, 0%, 47.8%)
CIE-LABlab(26.29, 19.79, -45.84)
CIE-LCHlch(26.29, 49.93, 293.36°)
OKLaboklab(37.19% -0.0068 -0.1321)
OKLCHoklch(37.19% 0.132 267.1)
XYZxyz(6.2735, 4.8445, 22.7902)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213885 #856E21
analogous
#216A85 #213885 #3C2185
triadic
#213885 #852138 #388521
tetradic
#213885 #85216A #856E21 #21853C
square
#213885 #85216A #856E21 #21853C
split-complementary
#213885 #853C21 #6A8521
monochromatic
#090F23 #152354 #213885 #2D4DB6 #4D6CD3

Accessibility & contrast

On white

10.67
#213885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213885
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213885#FFFFFF#000000##FFFFFF
##2138851.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213885;
/* rgb */ color: rgb(33, 56, 133);
/* oklch */ color: oklch(37.2% 0.132 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b6ea9',
    500: '#213885',
    950: '#000000',
  },
}
SCSS
$custom: #213885;
$custom-light: #6b6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#213885",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 133
  },
  "hsl": {
    "h": 226.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3719,
    "c": 0.1323,
    "h": 267.1
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#213885
secondary
#B69E4C
accent
#BF44E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213885

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

Preview Lab → · Contrast checker → · Palette generator →

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