#213691#213691

#213691 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.152 H 268.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#213691
RGBrgb(33, 54, 145)
HSLhsl(229, 63%, 35%)
HSVhsv(229, 77%, 57%)
CMYKcmyk(77.2%, 62.8%, 0%, 43.1%)
CIE-LABlab(26.75, 25.87, -52.53)
CIE-LCHlch(26.75, 58.55, 296.22°)
OKLaboklab(37.85% -0.005 -0.1518)
OKLCHoklch(37.85% 0.152 268.1)
XYZxyz(7.0554, 5.0052, 27.3768)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213691 #917C21
analogous
#216E91 #213691 #442191
triadic
#213691 #912136 #369121
tetradic
#213691 #91216E #917C21 #219144
square
#213691 #91216E #917C21 #219144
split-complementary
#213691 #914421 #6E9121
monochromatic
#0A112D #16235F #213691 #2C49C3 #546DD8

Accessibility & contrast

On white

10.49
#213691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213691
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213691#FFFFFF#000000##FFFFFF
##2136911.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213691;
/* rgb */ color: rgb(33, 54, 145);
/* oklch */ color: oklch(37.9% 0.152 268.1);
Tailwind
colors: {
  custom: {
    50: '#6f6cb2',
    500: '#213691',
    950: '#000000',
  },
}
SCSS
$custom: #213691;
$custom-light: #6f6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#213691",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 145
  },
  "hsl": {
    "h": 228.75,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37851,
    "c": 0.15188,
    "h": 268.1
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#213691
secondary
#BCA852
accent
#C742E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213691

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

Preview Lab → · Contrast checker → · Palette generator →

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