#213494#213494

#213494 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.159 H 268.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#213494
RGBrgb(33, 52, 148)
HSLhsl(230, 64%, 35%)
HSVhsv(230, 78%, 58%)
CMYKcmyk(77.7%, 64.9%, 0%, 42%)
CIE-LABlab(26.50, 28.38, -54.79)
CIE-LCHlch(26.50, 61.70, 297.38°)
OKLaboklab(37.75% -0.0038 -0.1584)
OKLCHoklch(37.75% 0.159 268.6)
XYZxyz(7.1986, 4.9166, 28.5808)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213494 #948121
analogous
#216D94 #213494 #472194
triadic
#213494 #942134 #349421
tetradic
#213494 #94216D #948121 #219447
square
#213494 #94216D #948121 #219447
split-complementary
#213494 #944721 #6D9421
monochromatic
#0B1130 #162262 #213494 #2C46C6 #566CD9

Accessibility & contrast

On white

10.59
#213494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#213494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213494
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213494#FFFFFF#000000##FFFFFF
##2134941.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213494;
/* rgb */ color: rgb(33, 52, 148);
/* oklch */ color: oklch(37.7% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6bb4',
    500: '#213494',
    950: '#000000',
  },
}
SCSS
$custom: #213494;
$custom-light: #6f6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#213494",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 148
  },
  "hsl": {
    "h": 230.087,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37746,
    "c": 0.1585,
    "h": 268.6
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#213494
secondary
#BDAC54
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213494

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

Preview Lab → · Contrast checker → · Palette generator →

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