#213B5F#213B5F

#213B5F is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.0% C 0.071 H 256.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#213B5F
RGBrgb(33, 59, 95)
HSLhsl(215, 48%, 25%)
HSVhsv(215, 65%, 37%)
CMYKcmyk(65.3%, 37.9%, 0%, 62.7%)
CIE-LABlab(24.57, 2.69, -24.39)
CIE-LCHlch(24.57, 24.54, 276.30°)
OKLaboklab(35.03% -0.0162 -0.0691)
OKLCHoklch(35.03% 0.071 256.8)
XYZxyz(4.2560, 4.2771, 11.4255)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B5F #5F4521
analogous
#215A5F #213B5F #26215F
triadic
#213B5F #5F213B #3B5F21
tetradic
#213B5F #5F215A #5F4521 #215F26
square
#213B5F #5F215A #5F4521 #215F26
split-complementary
#213B5F #5F2621 #5A5F21
monochromatic
#080E17 #111F32 #213B5F #31578C #4173BA

Accessibility & contrast

On white

11.32
#213B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B5F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B5F#FFFFFF#000000##FFFFFF
##213B5F1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E60
Deuteranopia (green-blind)
#23385E
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213b5f;
/* rgb */ color: rgb(33, 59, 95);
/* oklch */ color: oklch(35.0% 0.071 256.8);
Tailwind
colors: {
  custom: {
    50: '#63708c',
    500: '#213b5f',
    950: '#000000',
  },
}
SCSS
$custom: #213b5f;
$custom-light: #63708c;
$custom-dark: #000000;
JSON
{
  "hex": "#213b5f",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 95
  },
  "hsl": {
    "h": 214.839,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.07094,
    "h": 256.8
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#213B5F
secondary
#937449
accent
#9F50D8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #213B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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