#213395#213395

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

Color values

HEX#213395
RGBrgb(33, 51, 149)
HSLhsl(231, 64%, 36%)
HSVhsv(231, 78%, 58%)
CMYKcmyk(77.9%, 65.8%, 0%, 41.6%)
CIE-LABlab(26.33, 29.43, -55.67)
CIE-LCHlch(26.33, 62.97, 297.86°)
OKLaboklab(37.65% -0.0032 -0.161)
OKLCHoklch(37.65% 0.161 268.9)
XYZxyz(7.2340, 4.8601, 28.9848)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213395 #958321
analogous
#216D95 #213395 #492195
triadic
#213395 #952133 #339521
tetradic
#213395 #95216D #958321 #219549
square
#213395 #95216D #958321 #219549
split-complementary
#213395 #954921 #6D9521
monochromatic
#0B1131 #162263 #213395 #2C44C7 #576BDA

Accessibility & contrast

On white

10.65
#213395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213395
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213395#FFFFFF#000000##FFFFFF
##2133951.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213395;
/* rgb */ color: rgb(33, 51, 149);
/* oklch */ color: oklch(37.7% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#706ab5',
    500: '#213395',
    950: '#000000',
  },
}
SCSS
$custom: #213395;
$custom-light: #706ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#213395",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 230.69,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37654,
    "c": 0.16107,
    "h": 268.9
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213395

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

Preview Lab → · Contrast checker → · Palette generator →

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