#213460#213460

#213460 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.082 H 264.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#213460
RGBrgb(33, 52, 96)
HSLhsl(222, 49%, 25%)
HSVhsv(222, 66%, 38%)
CMYKcmyk(65.6%, 45.8%, 0%, 62.4%)
CIE-LABlab(22.39, 7.97, -28.51)
CIE-LCHlch(22.39, 29.60, 285.61°)
OKLaboklab(33.36% -0.0074 -0.0812)
OKLCHoklch(33.36% 0.082 264.8)
XYZxyz(3.9658, 3.6235, 11.5545)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213460 #604D21
analogous
#215360 #213460 #2E2160
triadic
#213460 #602134 #346021
tetradic
#213460 #602153 #604D21 #21602E
square
#213460 #602153 #604D21 #21602E
split-complementary
#213460 #602E21 #536021
monochromatic
#080C17 #111B32 #213460 #314D8E #4065BB

Accessibility & contrast

On white

12.18
#213460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#213460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213460
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213460#FFFFFF#000000##FFFFFF
##2134601.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203962
Deuteranopia (green-blind)
#17335F
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213460;
/* rgb */ color: rgb(33, 52, 96);
/* oklch */ color: oklch(33.4% 0.082 264.8);
Tailwind
colors: {
  custom: {
    50: '#636b8d',
    500: '#213460',
    950: '#000000',
  },
}
SCSS
$custom: #213460;
$custom-light: #636b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#213460",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 96
  },
  "hsl": {
    "h": 221.905,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.08156,
    "h": 264.8
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#213460
secondary
#947D49
accent
#AF4FD8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #213460

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

Preview Lab → · Contrast checker → · Palette generator →

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