#213262#213262

#213262 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.088 H 266.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#213262
RGBrgb(33, 50, 98)
HSLhsl(224, 50%, 26%)
HSVhsv(224, 66%, 38%)
CMYKcmyk(66.3%, 49%, 0%, 61.6%)
CIE-LABlab(21.89, 10.17, -30.60)
CIE-LCHlch(21.89, 32.25, 288.39°)
OKLaboklab(33.03% -0.0047 -0.0874)
OKLCHoklch(33.03% 0.088 266.9)
XYZxyz(3.9717, 3.4860, 12.0165)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213262 #625121
analogous
#215262 #213262 #302162
triadic
#213262 #622132 #326221
tetradic
#213262 #622152 #625121 #216230
square
#213262 #622152 #625121 #216230
split-complementary
#213262 #623021 #526221
monochromatic
#080C17 #121B34 #213262 #304990 #4061BE

Accessibility & contrast

On white

12.37
#213262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#213262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213262
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213262#FFFFFF#000000##FFFFFF
##2132621.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3864
Deuteranopia (green-blind)
#103261
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #213262;
/* rgb */ color: rgb(33, 50, 98);
/* oklch */ color: oklch(33.0% 0.088 266.9);
Tailwind
colors: {
  custom: {
    50: '#64698f',
    500: '#213262',
    950: '#000000',
  },
}
SCSS
$custom: #213262;
$custom-light: #64698f;
$custom-dark: #000000;
JSON
{
  "hex": "#213262",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 224.308,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.08753,
    "h": 266.9
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#213262
secondary
#968249
accent
#B54FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #213262

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

Preview Lab → · Contrast checker → · Palette generator →

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