#213ABC#213ABC

#213ABC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 42.7% C 0.204 H 267.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#213ABC
RGBrgb(33, 58, 188)
HSLhsl(230, 70%, 43%)
HSVhsv(230, 82%, 74%)
CMYKcmyk(82.4%, 69.1%, 0%, 26.3%)
CIE-LABlab(31.76, 39.38, -70.21)
CIE-LCHlch(31.76, 80.50, 299.28°)
OKLaboklab(42.75% -0.0092 -0.2035)
OKLCHoklch(42.75% 0.204 267.4)
XYZxyz(11.2142, 6.9789, 48.3232)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213ABC #BCA321
analogous
#2187BC #213ABC #5621BC
triadic
#213ABC #BC213A #3ABC21
tetradic
#213ABC #BC2187 #BCA321 #21BC56
square
#213ABC #BC2187 #BCA321 #21BC56
split-complementary
#213ABC #BC5621 #87BC21
monochromatic
#0F1A54 #182A88 #213ABC #3D57DD #7184E6

Accessibility & contrast

On white

8.76
#213ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#213ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213ABC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213ABC#FFFFFF#000000##FFFFFF
##213ABC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #213abc;
/* rgb */ color: rgb(33, 58, 188);
/* oklch */ color: oklch(42.7% 0.204 267.4);
Tailwind
colors: {
  custom: {
    50: '#7970d1',
    500: '#213abc',
    950: '#000000',
  },
}
SCSS
$custom: #213abc;
$custom-light: #7970d1;
$custom-dark: #000000;
JSON
{
  "hex": "#213abc",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 230.323,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.20368,
    "h": 267.4
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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