#213C8D#213C8D

#213C8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.139 H 266.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#213C8D
RGBrgb(33, 60, 141)
HSLhsl(225, 62%, 34%)
HSVhsv(225, 77%, 55%)
CMYKcmyk(76.6%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.05, 20.19, -47.93)
CIE-LCHlch(28.05, 52.01, 292.84°)
OKLaboklab(38.72% -0.0095 -0.1382)
OKLCHoklch(38.72% 0.139 266.1)
XYZxyz(7.0491, 5.4774, 25.8799)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C8D #8D7221
analogous
#21728D #213C8D #3C218D
triadic
#213C8D #8D213C #3C8D21
tetradic
#213C8D #8D2172 #8D7221 #218D3C
square
#213C8D #8D2172 #8D7221 #218D3C
split-complementary
#213C8D #8D3C21 #728D21
monochromatic
#0A122A #15275B #213C8D #2D51BF #5273D6

Accessibility & contrast

On white

10.02
#213C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#213C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C8D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C8D#FFFFFF#000000##FFFFFF
##213C8D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213c8d;
/* rgb */ color: rgb(33, 60, 141);
/* oklch */ color: oklch(38.7% 0.139 266.1);
Tailwind
colors: {
  custom: {
    50: '#6d71af',
    500: '#213c8d',
    950: '#000000',
  },
}
SCSS
$custom: #213c8d;
$custom-light: #6d71af;
$custom-dark: #000000;
JSON
{
  "hex": "#213c8d",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 225,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.13856,
    "h": 266.1
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#213C8D
secondary
#BA9F50
accent
#BD43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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