#213153#213153

#213153 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.065 H 264.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#213153
RGBrgb(33, 49, 83)
HSLhsl(221, 43%, 23%)
HSVhsv(221, 60%, 33%)
CMYKcmyk(60.2%, 41%, 0%, 67.5%)
CIE-LABlab(20.61, 5.08, -22.74)
CIE-LCHlch(20.61, 23.30, 282.59°)
OKLaboklab(31.73% -0.0068 -0.0644)
OKLCHoklch(31.73% 0.065 264)
XYZxyz(3.2863, 3.1442, 8.6157)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213153 #534321
analogous
#214A53 #213153 #2A2153
triadic
#213153 #532131 #315321
tetradic
#213153 #53214A #534321 #21532A
square
#213153 #53214A #534321 #21532A
split-complementary
#213153 #532A21 #4A5321
monochromatic
#090D16 #101727 #213153 #324B7F #4465AB

Accessibility & contrast

On white

12.89
#213153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#213153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213153
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213153#FFFFFF#000000##FFFFFF
##2131531.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233454
Deuteranopia (green-blind)
#1D3052
Tritanopia (blue-blind)
#04383E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213153;
/* rgb */ color: rgb(33, 49, 83);
/* oklch */ color: oklch(31.7% 0.065 264.0);
Tailwind
colors: {
  custom: {
    50: '#616883',
    500: '#213153',
    950: '#000000',
  },
}
SCSS
$custom: #213153;
$custom-light: #616883;
$custom-dark: #000000;
JSON
{
  "hex": "#213153",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 83
  },
  "hsl": {
    "h": 220.8,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31728,
    "c": 0.06473,
    "h": 264
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#213153
secondary
#877349
accent
#AB55D3
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05060A
muted
#797A7C

Preview Lab

Preview with #213153

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

Preview Lab → · Contrast checker → · Palette generator →

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