#213852#213852

#213852 is a dark, muted cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.055 H 252.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#213852
RGBrgb(33, 56, 82)
HSLhsl(212, 43%, 23%)
HSVhsv(212, 60%, 32%)
CMYKcmyk(59.8%, 31.7%, 0%, 67.8%)
CIE-LABlab(22.86, -0.16, -18.53)
CIE-LCHlch(22.86, 18.54, 269.49°)
OKLaboklab(33.47% -0.0165 -0.0521)
OKLCHoklch(33.47% 0.055 252.5)
XYZxyz(3.5638, 3.7606, 8.5191)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213852 #523B21
analogous
#215052 #213852 #232152
triadic
#213852 #522138 #385221
tetradic
#213852 #522150 #523B21 #215223
square
#213852 #522150 #523B21 #215223
split-complementary
#213852 #522321 #505221
monochromatic
#090F16 #0F1A26 #213852 #33567E #4474A9

Accessibility & contrast

On white

11.98
#213852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#213852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213852
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213852#FFFFFF#000000##FFFFFF
##2138521.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#273451
Tritanopia (blue-blind)
#033E41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213852;
/* rgb */ color: rgb(33, 56, 82);
/* oklch */ color: oklch(33.5% 0.055 252.5);
Tailwind
colors: {
  custom: {
    50: '#606e82',
    500: '#213852',
    950: '#000000',
  },
}
SCSS
$custom: #213852;
$custom-light: #606e82;
$custom-dark: #000000;
JSON
{
  "hex": "#213852",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 211.837,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.05462,
    "h": 252.5
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#213852
secondary
#866949
accent
#9855D2
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05070A
muted
#797A7C

Preview Lab

Preview with #213852

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

Preview Lab → · Contrast checker → · Palette generator →

#213852 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva