#213960#213960

#213960 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.6% C 0.075 H 259.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#213960
RGBrgb(33, 57, 96)
HSLhsl(217, 49%, 25%)
HSVhsv(217, 66%, 38%)
CMYKcmyk(65.6%, 40.6%, 0%, 62.4%)
CIE-LABlab(23.98, 4.46, -25.97)
CIE-LCHlch(23.98, 26.35, 279.74°)
OKLaboklab(34.59% -0.0134 -0.0737)
OKLCHoklch(34.59% 0.075 259.7)
XYZxyz(4.2009, 4.0937, 11.6329)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213960 #604821
analogous
#215860 #213960 #292160
triadic
#213960 #602139 #396021
tetradic
#213960 #602158 #604821 #216029
square
#213960 #602158 #604821 #216029
split-complementary
#213960 #602921 #586021
monochromatic
#080E17 #111E32 #213960 #31548E #406FBB

Accessibility & contrast

On white

11.55
#213960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#213960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213960
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213960#FFFFFF#000000##FFFFFF
##2139601.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C62
Deuteranopia (green-blind)
#20365F
Tritanopia (blue-blind)
#004248
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213960;
/* rgb */ color: rgb(33, 57, 96);
/* oklch */ color: oklch(34.6% 0.075 259.7);
Tailwind
colors: {
  custom: {
    50: '#636f8d',
    500: '#213960',
    950: '#000000',
  },
}
SCSS
$custom: #213960;
$custom-light: #636f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#213960",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 96
  },
  "hsl": {
    "h": 217.143,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34593,
    "c": 0.07494,
    "h": 259.7
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#213960
secondary
#947749
accent
#A44FD8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #213960

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

Preview Lab → · Contrast checker → · Palette generator →

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