#213C8C#213C8C

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

Color values

HEX#213C8C
RGBrgb(33, 60, 140)
HSLhsl(225, 62%, 34%)
HSVhsv(225, 76%, 55%)
CMYKcmyk(76.4%, 57.1%, 0%, 45.1%)
CIE-LABlab(27.97, 19.79, -47.45)
CIE-LCHlch(27.97, 51.41, 292.64°)
OKLaboklab(38.64% -0.0096 -0.1368)
OKLCHoklch(38.64% 0.137 266)
XYZxyz(6.9750, 5.4477, 25.4898)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C8C #8C7121
analogous
#21728C #213C8C #3C218C
triadic
#213C8C #8C213C #3C8C21
tetradic
#213C8C #8C2172 #8C7121 #218C3C
square
#213C8C #8C2172 #8C7121 #218C3C
split-complementary
#213C8C #8C3C21 #728C21
monochromatic
#0A1229 #15275A #213C8C #2D51BE #5173D6

Accessibility & contrast

On white

10.05
#213C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C8C
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C8C#FFFFFF#000000##FFFFFF
##213C8C1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213c8c;
/* rgb */ color: rgb(33, 60, 140);
/* oklch */ color: oklch(38.6% 0.137 266.0);
Tailwind
colors: {
  custom: {
    50: '#6d71ae',
    500: '#213c8c',
    950: '#000000',
  },
}
SCSS
$custom: #213c8c;
$custom-light: #6d71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#213c8c",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 224.86,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.13713,
    "h": 266
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#213C8C
secondary
#B99F4F
accent
#BC43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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