#213EBC#213EBC

#213EBC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.199 H 266.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#213EBC
RGBrgb(33, 62, 188)
HSLhsl(229, 70%, 43%)
HSVhsv(229, 82%, 74%)
CMYKcmyk(82.4%, 67%, 0%, 26.3%)
CIE-LABlab(32.70, 36.85, -68.67)
CIE-LCHlch(32.70, 77.93, 298.22°)
OKLaboklab(43.43% -0.011 -0.1989)
OKLCHoklch(43.43% 0.199 266.8)
XYZxyz(11.4238, 7.3980, 48.3931)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213EBC #BC9F21
analogous
#218BBC #213EBC #5121BC
triadic
#213EBC #BC213E #3EBC21
tetradic
#213EBC #BC218B #BC9F21 #21BC51
square
#213EBC #BC218B #BC9F21 #21BC51
split-complementary
#213EBC #BC5121 #8BBC21
monochromatic
#0F1C54 #182D88 #213EBC #3D5BDD #7187E6

Accessibility & contrast

On white

8.47
#213EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#213EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213EBC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213EBC#FFFFFF#000000##FFFFFF
##213EBC1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #213ebc;
/* rgb */ color: rgb(33, 62, 188);
/* oklch */ color: oklch(43.4% 0.199 266.8);
Tailwind
colors: {
  custom: {
    50: '#7973d1',
    500: '#213ebc',
    950: '#000000',
  },
}
SCSS
$custom: #213ebc;
$custom-light: #7973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#213ebc",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 228.774,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.19925,
    "h": 266.8
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#213EBC
secondary
#CDBB6C
accent
#CC3BED
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #213EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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