#213A92#213A92

#213A92 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.148 H 267.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#213A92
RGBrgb(33, 58, 146)
HSLhsl(227, 63%, 35%)
HSVhsv(227, 77%, 57%)
CMYKcmyk(77.4%, 60.3%, 0%, 42.7%)
CIE-LABlab(27.91, 23.53, -51.25)
CIE-LCHlch(27.91, 56.39, 294.66°)
OKLaboklab(38.74% -0.0078 -0.148)
OKLCHoklch(38.74% 0.148 267)
XYZxyz(7.3268, 5.4240, 27.8493)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A92 #927921
analogous
#217292 #213A92 #412192
triadic
#213A92 #92213A #3A9221
tetradic
#213A92 #922172 #927921 #219241
square
#213A92 #922172 #927921 #219241
split-complementary
#213A92 #924121 #729221
monochromatic
#0A122E #162660 #213A92 #2C4EC4 #5572D9

Accessibility & contrast

On white

10.07
#213A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A92
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A92#FFFFFF#000000##FFFFFF
##213A921.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213a92;
/* rgb */ color: rgb(33, 58, 146);
/* oklch */ color: oklch(38.7% 0.148 267.0);
Tailwind
colors: {
  custom: {
    50: '#6e6fb3',
    500: '#213a92',
    950: '#000000',
  },
}
SCSS
$custom: #213a92;
$custom-light: #6e6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#213a92",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 226.726,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.1482,
    "h": 267
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#213A92
secondary
#BCA553
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213A92

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

Preview Lab → · Contrast checker → · Palette generator →

#213A92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva