#213385#213385

#213385 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.139 H 268.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#213385
RGBrgb(33, 51, 133)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 52%)
CMYKcmyk(75.2%, 61.7%, 0%, 47.8%)
CIE-LABlab(24.90, 23.26, -48.09)
CIE-LCHlch(24.90, 53.42, 295.81°)
OKLaboklab(36.16% -0.0028 -0.1388)
OKLCHoklch(36.16% 0.139 268.8)
XYZxyz(6.0432, 4.3838, 22.7134)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213385 #857321
analogous
#216585 #213385 #412185
triadic
#213385 #852133 #338521
tetradic
#213385 #852165 #857321 #218541
square
#213385 #852165 #857321 #218541
split-complementary
#213385 #854121 #658521
monochromatic
#090D23 #152054 #213385 #2D46B6 #4D65D3

Accessibility & contrast

On white

11.19
#213385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#213385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213385
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213385#FFFFFF#000000##FFFFFF
##2133851.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213385;
/* rgb */ color: rgb(33, 51, 133);
/* oklch */ color: oklch(36.2% 0.139 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c6aa9',
    500: '#213385',
    950: '#000000',
  },
}
SCSS
$custom: #213385;
$custom-light: #6c6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#213385",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 229.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36155,
    "c": 0.13886,
    "h": 268.8
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

primary
#213385
secondary
#B6A34C
accent
#C744E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213385

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

Preview Lab → · Contrast checker → · Palette generator →

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