#213149#213149

#213149 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.048 H 258.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#213149
RGBrgb(33, 49, 73)
HSLhsl(216, 38%, 21%)
HSVhsv(216, 55%, 29%)
CMYKcmyk(54.8%, 32.9%, 0%, 71.4%)
CIE-LABlab(20.05, 1.36, -16.91)
CIE-LCHlch(20.05, 16.97, 274.60°)
OKLaboklab(31.1% -0.0098 -0.0474)
OKLCHoklch(31.1% 0.048 258.3)
XYZxyz(2.9277, 3.0008, 6.7270)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213149 #493921
analogous
#214549 #213149 #252149
triadic
#213149 #492131 #314921
tetradic
#213149 #492145 #493921 #214925
square
#213149 #492145 #493921 #214925
split-complementary
#213149 #492521 #454921
monochromatic
#0A0E15 #0E151F #213149 #344D73 #476A9D

Accessibility & contrast

On white

13.12
#213149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#213149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213149
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213149#FFFFFF#000000##FFFFFF
##2131491.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28334A
Deuteranopia (green-blind)
#232F48
Tritanopia (blue-blind)
#0F3639
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #213149;
/* rgb */ color: rgb(33, 49, 73);
/* oklch */ color: oklch(31.1% 0.048 258.3);
Tailwind
colors: {
  custom: {
    50: '#5f687c',
    500: '#213149',
    950: '#000000',
  },
}
SCSS
$custom: #213149;
$custom-light: #5f687c;
$custom-dark: #000000;
JSON
{
  "hex": "#213149",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 73
  },
  "hsl": {
    "h": 216,
    "s": 37.736,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.04845,
    "h": 258.3
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#213149
secondary
#7D6849
accent
#9F5ACE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#050609
muted
#797A7B

Preview Lab

Preview with #213149

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

Preview Lab → · Contrast checker → · Palette generator →

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