#213958#213958

#213958 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.063 H 255.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#213958
RGBrgb(33, 57, 88)
HSLhsl(214, 45%, 24%)
HSVhsv(214, 63%, 35%)
CMYKcmyk(62.5%, 35.2%, 0%, 65.5%)
CIE-LABlab(23.52, 1.40, -21.47)
CIE-LCHlch(23.52, 21.51, 273.72°)
OKLaboklab(34.08% -0.0158 -0.0606)
OKLCHoklch(34.08% 0.063 255.4)
XYZxyz(3.8512, 3.9538, 9.7908)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213958 #584021
analogous
#215458 #213958 #242158
triadic
#213958 #582139 #395821
tetradic
#213958 #582154 #584021 #215824
square
#213958 #582154 #584021 #215824
split-complementary
#213958 #582421 #545821
monochromatic
#080E16 #101C2B #213958 #325685 #4273B1

Accessibility & contrast

On white

11.73
#213958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#213958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213958
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213958#FFFFFF#000000##FFFFFF
##2139581.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B59
Deuteranopia (green-blind)
#253657
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213958;
/* rgb */ color: rgb(33, 57, 88);
/* oklch */ color: oklch(34.1% 0.063 255.4);
Tailwind
colors: {
  custom: {
    50: '#616f87',
    500: '#213958',
    950: '#000000',
  },
}
SCSS
$custom: #213958;
$custom-light: #616f87;
$custom-dark: #000000;
JSON
{
  "hex": "#213958",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 88
  },
  "hsl": {
    "h": 213.818,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.0626,
    "h": 255.4
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#213958
secondary
#8C6F49
accent
#9C53D5
background
#F5F6F8
surface
#EAECEF
border
#C6C7CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #213958

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

Preview Lab → · Contrast checker → · Palette generator →

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