#213461#213461

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

Color values

HEX#213461
RGBrgb(33, 52, 97)
HSLhsl(222, 49%, 25%)
HSVhsv(222, 66%, 38%)
CMYKcmyk(66%, 46.4%, 0%, 62%)
CIE-LABlab(22.45, 8.36, -29.06)
CIE-LCHlch(22.45, 30.23, 286.05°)
OKLaboklab(33.43% -0.0072 -0.0828)
OKLCHoklch(33.43% 0.083 265)
XYZxyz(4.0121, 3.6420, 11.7985)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213461 #614E21
analogous
#215461 #213461 #2E2161
triadic
#213461 #612134 #346121
tetradic
#213461 #612154 #614E21 #21612E
square
#213461 #612154 #614E21 #21612E
split-complementary
#213461 #612E21 #546121
monochromatic
#080C17 #111C33 #213461 #314C8F #4065BC

Accessibility & contrast

On white

12.15
#213461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#213461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213461
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213461#FFFFFF#000000##FFFFFF
##2134611.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3963
Deuteranopia (green-blind)
#163360
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213461;
/* rgb */ color: rgb(33, 52, 97);
/* oklch */ color: oklch(33.4% 0.083 265.0);
Tailwind
colors: {
  custom: {
    50: '#636b8e',
    500: '#213461',
    950: '#000000',
  },
}
SCSS
$custom: #213461;
$custom-light: #636b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#213461",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 97
  },
  "hsl": {
    "h": 222.188,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.08314,
    "h": 265
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#213461
secondary
#957E49
accent
#B04FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #213461

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

Preview Lab → · Contrast checker → · Palette generator →

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