#213586#213586

#213586 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.138 H 268.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#213586
RGBrgb(33, 53, 134)
HSLhsl(228, 60%, 33%)
HSVhsv(228, 75%, 53%)
CMYKcmyk(75.4%, 60.4%, 0%, 47.5%)
CIE-LABlab(25.53, 22.27, -47.69)
CIE-LCHlch(25.53, 52.63, 295.03°)
OKLaboklab(36.65% -0.0044 -0.1376)
OKLCHoklch(36.65% 0.138 268.2)
XYZxyz(6.2019, 4.5901, 23.1088)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213586 #867221
analogous
#216786 #213586 #402186
triadic
#213586 #862135 #358621
tetradic
#213586 #862167 #867221 #218640
square
#213586 #862167 #867221 #218640
split-complementary
#213586 #864021 #678621
monochromatic
#090E24 #152255 #213586 #2D48B7 #4E68D3

Accessibility & contrast

On white

10.95
#213586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#213586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213586
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213586#FFFFFF#000000##FFFFFF
##2135861.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213586;
/* rgb */ color: rgb(33, 53, 134);
/* oklch */ color: oklch(36.7% 0.138 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c6baa',
    500: '#213586',
    950: '#000000',
  },
}
SCSS
$custom: #213586;
$custom-light: #6c6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#213586",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 228.119,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.13768,
    "h": 268.2
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#213586
secondary
#B7A24C
accent
#C444E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213586

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

Preview Lab → · Contrast checker → · Palette generator →

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