#213B8E#213B8E

#213B8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.141 H 266.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#213B8E
RGBrgb(33, 59, 142)
HSLhsl(226, 62%, 34%)
HSVhsv(226, 77%, 56%)
CMYKcmyk(76.8%, 58.5%, 0%, 44.3%)
CIE-LABlab(27.85, 21.27, -48.87)
CIE-LCHlch(27.85, 53.30, 293.52°)
OKLaboklab(38.6% -0.0087 -0.141)
OKLCHoklch(38.6% 0.141 266.5)
XYZxyz(7.0719, 5.4035, 26.2562)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B8E #8E7421
analogous
#21728E #213B8E #3E218E
triadic
#213B8E #8E213B #3B8E21
tetradic
#213B8E #8E2172 #8E7421 #218E3E
square
#213B8E #8E2172 #8E7421 #218E3E
split-complementary
#213B8E #8E3E21 #728E21
monochromatic
#0A122B #15265C #213B8E #2D50C0 #5272D7

Accessibility & contrast

On white

10.09
#213B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#213B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B8E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B8E#FFFFFF#000000##FFFFFF
##213B8E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213b8e;
/* rgb */ color: rgb(33, 59, 142);
/* oklch */ color: oklch(38.6% 0.141 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d70b0',
    500: '#213b8e',
    950: '#000000',
  },
}
SCSS
$custom: #213b8e;
$custom-light: #6d70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#213b8e",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 225.688,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.14128,
    "h": 266.5
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#213B8E
secondary
#BAA150
accent
#BE42E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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