#213962#213962

#213962 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.078 H 260.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#213962
RGBrgb(33, 57, 98)
HSLhsl(218, 50%, 26%)
HSVhsv(218, 66%, 38%)
CMYKcmyk(66.3%, 41.8%, 0%, 61.6%)
CIE-LABlab(24.10, 5.24, -27.08)
CIE-LCHlch(24.10, 27.58, 280.94°)
OKLaboklab(34.73% -0.0129 -0.077)
OKLCHoklch(34.73% 0.078 260.5)
XYZxyz(4.2942, 4.1310, 12.1240)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213962 #624A21
analogous
#215962 #213962 #292162
triadic
#213962 #622139 #396221
tetradic
#213962 #622159 #624A21 #216229
square
#213962 #622159 #624A21 #216229
split-complementary
#213962 #622921 #596221
monochromatic
#080D17 #121E34 #213962 #305490 #406EBE

Accessibility & contrast

On white

11.50
#213962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#213962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213962
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213962#FFFFFF#000000##FFFFFF
##2139621.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D64
Deuteranopia (green-blind)
#1E3761
Tritanopia (blue-blind)
#004248
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213962;
/* rgb */ color: rgb(33, 57, 98);
/* oklch */ color: oklch(34.7% 0.078 260.5);
Tailwind
colors: {
  custom: {
    50: '#636f8f',
    500: '#213962',
    950: '#000000',
  },
}
SCSS
$custom: #213962;
$custom-light: #636f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#213962",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 98
  },
  "hsl": {
    "h": 217.846,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.07805,
    "h": 260.5
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#213962
secondary
#967A49
accent
#A64FD9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213962

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

Preview Lab → · Contrast checker → · Palette generator →

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