#213BBC#213BBC

#213BBC is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 42.9% C 0.203 H 267.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#213BBC
RGBrgb(33, 59, 188)
HSLhsl(230, 70%, 43%)
HSVhsv(230, 82%, 74%)
CMYKcmyk(82.4%, 68.6%, 0%, 26.3%)
CIE-LABlab(31.99, 38.75, -69.83)
CIE-LCHlch(31.99, 79.86, 299.03°)
OKLaboklab(42.92% -0.0097 -0.2024)
OKLCHoklch(42.92% 0.203 267.3)
XYZxyz(11.2651, 7.0807, 48.3402)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213BBC #BCA221
analogous
#2189BC #213BBC #5421BC
triadic
#213BBC #BC213B #3BBC21
tetradic
#213BBC #BC2189 #BCA221 #21BC54
square
#213BBC #BC2189 #BCA221 #21BC54
split-complementary
#213BBC #BC5421 #89BC21
monochromatic
#0F1A54 #182B88 #213BBC #3D58DD #7185E6

Accessibility & contrast

On white

8.69
#213BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#213BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213BBC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213BBC#FFFFFF#000000##FFFFFF
##213BBC1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #213bbc;
/* rgb */ color: rgb(33, 59, 188);
/* oklch */ color: oklch(42.9% 0.203 267.3);
Tailwind
colors: {
  custom: {
    50: '#7971d1',
    500: '#213bbc',
    950: '#000000',
  },
}
SCSS
$custom: #213bbc;
$custom-light: #7971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#213bbc",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 229.935,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.20259,
    "h": 267.3
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#213BBC
secondary
#CDBD6C
accent
#CF3BED
background
#F8F6FD
surface
#EFECFA
border
#CAC7D3
text
#0B0714
muted
#7C7A83

Preview Lab

Preview with #213BBC

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

Preview Lab → · Contrast checker → · Palette generator →

#213BBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva