#213193#213193

#213193 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.161 H 269.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#213193
RGBrgb(33, 49, 147)
HSLhsl(232, 63%, 35%)
HSVhsv(232, 78%, 58%)
CMYKcmyk(77.6%, 66.7%, 0%, 42.4%)
CIE-LABlab(25.64, 30.00, -55.57)
CIE-LCHlch(25.64, 63.15, 298.36°)
OKLaboklab(37.09% -0.0019 -0.1608)
OKLCHoklch(37.09% 0.161 269.3)
XYZxyz(6.9902, 4.6258, 28.1226)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213193 #938321
analogous
#216A93 #213193 #4A2193
triadic
#213193 #932131 #319321
tetradic
#213193 #93216A #938321 #21934A
square
#213193 #93216A #938321 #21934A
split-complementary
#213193 #934A21 #6A9321
monochromatic
#0B102F #162061 #213193 #2C42C5 #5568D9

Accessibility & contrast

On white

10.91
#213193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213193
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213193#FFFFFF#000000##FFFFFF
##2131931.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213193;
/* rgb */ color: rgb(33, 49, 147);
/* oklch */ color: oklch(37.1% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f69b4',
    500: '#213193',
    950: '#000000',
  },
}
SCSS
$custom: #213193;
$custom-light: #6f69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#213193",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 231.579,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.16078,
    "h": 269.3
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#213193
secondary
#BDAE53
accent
#CF41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213193

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

Preview Lab → · Contrast checker → · Palette generator →

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