#213C66#213C66

#213C66 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.7% C 0.080 H 258.9°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#213C66
RGBrgb(33, 60, 102)
HSLhsl(217, 51%, 26%)
HSVhsv(217, 68%, 40%)
CMYKcmyk(67.6%, 41.2%, 0%, 60%)
CIE-LABlab(25.30, 4.72, -27.76)
CIE-LCHlch(25.30, 28.16, 279.64°)
OKLaboklab(35.74% -0.0154 -0.0789)
OKLCHoklch(35.74% 0.08 258.9)
XYZxyz(4.6405, 4.5139, 13.1945)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C66 #664B21
analogous
#215F66 #213C66 #292166
triadic
#213C66 #66213C #3C6621
tetradic
#213C66 #66215F #664B21 #216629
square
#213C66 #66215F #664B21 #216629
split-complementary
#213C66 #662921 #5F6621
monochromatic
#070E17 #122138 #213C66 #305794 #4073C1

Accessibility & contrast

On white

11.04
#213C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#213C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C66
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C66#FFFFFF#000000##FFFFFF
##213C661.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#203965
Tritanopia (blue-blind)
#00464C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213c66;
/* rgb */ color: rgb(33, 60, 102);
/* oklch */ color: oklch(35.7% 0.080 258.9);
Tailwind
colors: {
  custom: {
    50: '#647192',
    500: '#213c66',
    950: '#000000',
  },
}
SCSS
$custom: #213c66;
$custom-light: #647192;
$custom-dark: #000000;
JSON
{
  "hex": "#213c66",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 102
  },
  "hsl": {
    "h": 216.522,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35739,
    "c": 0.08041,
    "h": 258.9
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#213C66
secondary
#9A7A49
accent
#A34DDB
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #213C66

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

Preview Lab → · Contrast checker → · Palette generator →

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