#213186#213186

#213186 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.143 H 269.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#213186
RGBrgb(33, 49, 134)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(75.4%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.45, 25.03, -49.45)
CIE-LCHlch(24.45, 55.43, 296.84°)
OKLaboklab(35.85% -0.0013 -0.1428)
OKLCHoklch(35.85% 0.143 269.5)
XYZxyz(6.0271, 4.2406, 23.0505)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213186 #867621
analogous
#216386 #213186 #432186
triadic
#213186 #862131 #318621
tetradic
#213186 #862163 #867621 #218643
square
#213186 #862163 #867621 #218643
split-complementary
#213186 #864321 #638621
monochromatic
#090D24 #151F55 #213186 #2D43B7 #4E63D3

Accessibility & contrast

On white

11.36
#213186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#213186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213186
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213186#FFFFFF#000000##FFFFFF
##2131861.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213186;
/* rgb */ color: rgb(33, 49, 134);
/* oklch */ color: oklch(35.8% 0.143 269.5);
Tailwind
colors: {
  custom: {
    50: '#6c69aa',
    500: '#213186',
    950: '#000000',
  },
}
SCSS
$custom: #213186;
$custom-light: #6c69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213186",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 230.495,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35848,
    "c": 0.14286,
    "h": 269.5
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#213186
secondary
#B7A64C
accent
#CA44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213186

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

Preview Lab → · Contrast checker → · Palette generator →

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