#213362#213362

#213362 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.086 H 266.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#213362
RGBrgb(33, 51, 98)
HSLhsl(223, 50%, 26%)
HSVhsv(223, 66%, 38%)
CMYKcmyk(66.3%, 48%, 0%, 61.6%)
CIE-LABlab(22.20, 9.46, -30.10)
CIE-LCHlch(22.20, 31.55, 287.44°)
OKLaboklab(33.27% -0.0059 -0.0859)
OKLCHoklch(33.27% 0.086 266.1)
XYZxyz(4.0149, 3.5725, 12.0309)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213362 #625021
analogous
#215362 #213362 #302162
triadic
#213362 #622133 #336221
tetradic
#213362 #622153 #625021 #216230
square
#213362 #622153 #625021 #216230
split-complementary
#213362 #623021 #536221
monochromatic
#080C17 #121B34 #213362 #304B90 #4063BE

Accessibility & contrast

On white

12.25
#213362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#213362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213362
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213362#FFFFFF#000000##FFFFFF
##2133621.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213362;
/* rgb */ color: rgb(33, 51, 98);
/* oklch */ color: oklch(33.3% 0.086 266.1);
Tailwind
colors: {
  custom: {
    50: '#646a8f',
    500: '#213362',
    950: '#000000',
  },
}
SCSS
$custom: #213362;
$custom-light: #646a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#213362",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 223.385,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33265,
    "c": 0.08612,
    "h": 266.1
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#213362
secondary
#968149
accent
#B34FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #213362

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

Preview Lab → · Contrast checker → · Palette generator →

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