#213394#213394

#213394 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.160 H 268.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#213394
RGBrgb(33, 51, 148)
HSLhsl(231, 64%, 35%)
HSVhsv(231, 78%, 58%)
CMYKcmyk(77.7%, 65.5%, 0%, 42%)
CIE-LABlab(26.24, 29.05, -55.21)
CIE-LCHlch(26.24, 62.38, 297.75°)
OKLaboklab(37.56% -0.0031 -0.1597)
OKLCHoklch(37.56% 0.16 268.9)
XYZxyz(7.1545, 4.8283, 28.5661)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213394 #948221
analogous
#216C94 #213394 #492194
triadic
#213394 #942133 #339421
tetradic
#213394 #94216C #948221 #219449
square
#213394 #94216C #948221 #219449
split-complementary
#213394 #944921 #6C9421
monochromatic
#0B1130 #162262 #213394 #2C44C6 #566BD9

Accessibility & contrast

On white

10.68
#213394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213394
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213394#FFFFFF#000000##FFFFFF
##2133941.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213394;
/* rgb */ color: rgb(33, 51, 148);
/* oklch */ color: oklch(37.6% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#706ab4',
    500: '#213394',
    950: '#000000',
  },
}
SCSS
$custom: #213394;
$custom-light: #706ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#213394",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 230.609,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37558,
    "c": 0.15971,
    "h": 268.9
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#213394
secondary
#BDAD54
accent
#CD41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213394

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

Preview Lab → · Contrast checker → · Palette generator →

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