#213762#213762

#213762 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.081 H 262.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#213762
RGBrgb(33, 55, 98)
HSLhsl(220, 50%, 26%)
HSVhsv(220, 66%, 38%)
CMYKcmyk(66.3%, 43.9%, 0%, 61.6%)
CIE-LABlab(23.46, 6.63, -28.09)
CIE-LCHlch(23.46, 28.87, 283.28°)
OKLaboklab(34.23% -0.0105 -0.08)
OKLCHoklch(34.23% 0.081 262.5)
XYZxyz(4.1972, 3.9372, 12.0917)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213762 #624C21
analogous
#215762 #213762 #2B2162
triadic
#213762 #622137 #376221
tetradic
#213762 #622157 #624C21 #21622B
square
#213762 #622157 #624C21 #21622B
split-complementary
#213762 #622B21 #576221
monochromatic
#080D17 #121D34 #213762 #305190 #406ABE

Accessibility & contrast

On white

11.75
#213762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213762
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213762#FFFFFF#000000##FFFFFF
##2137621.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#1A3561
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213762;
/* rgb */ color: rgb(33, 55, 98);
/* oklch */ color: oklch(34.2% 0.081 262.5);
Tailwind
colors: {
  custom: {
    50: '#636d8f',
    500: '#213762',
    950: '#000000',
  },
}
SCSS
$custom: #213762;
$custom-light: #636d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#213762",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 98
  },
  "hsl": {
    "h": 219.692,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34233,
    "c": 0.08066,
    "h": 262.5
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#213762
secondary
#967C49
accent
#AA4FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213762

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

Preview Lab → · Contrast checker → · Palette generator →

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