#213286#213286

#213286 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.142 H 269.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#213286
RGBrgb(33, 50, 134)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(75.4%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.72, 24.34, -49.02)
CIE-LCHlch(24.72, 54.73, 296.41°)
OKLaboklab(36.05% -0.0021 -0.1416)
OKLCHoklch(36.05% 0.142 269.2)
XYZxyz(6.0694, 4.3251, 23.0646)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213286 #867521
analogous
#216486 #213286 #422186
triadic
#213286 #862132 #328621
tetradic
#213286 #862164 #867521 #218642
square
#213286 #862164 #867521 #218642
split-complementary
#213286 #864221 #648621
monochromatic
#090D24 #152055 #213286 #2D44B7 #4E64D3

Accessibility & contrast

On white

11.26
#213286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#213286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213286
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213286#FFFFFF#000000##FFFFFF
##2132861.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213286;
/* rgb */ color: rgb(33, 50, 134);
/* oklch */ color: oklch(36.0% 0.142 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c69aa',
    500: '#213286',
    950: '#000000',
  },
}
SCSS
$custom: #213286;
$custom-light: #6c69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213286",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 229.901,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36046,
    "c": 0.14158,
    "h": 269.2
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#213286
secondary
#B7A54C
accent
#C944E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213286

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

Preview Lab → · Contrast checker → · Palette generator →

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