#213792#213792

#213792 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.152 H 267.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#213792
RGBrgb(33, 55, 146)
HSLhsl(228, 63%, 35%)
HSVhsv(228, 77%, 57%)
CMYKcmyk(77.4%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.10, 25.58, -52.57)
CIE-LCHlch(27.10, 58.46, 295.95°)
OKLaboklab(38.14% -0.0057 -0.1519)
OKLCHoklch(38.14% 0.152 267.8)
XYZxyz(7.1799, 5.1302, 27.8004)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213792 #927C21
analogous
#216F92 #213792 #442192
triadic
#213792 #922137 #379221
tetradic
#213792 #92216F #927C21 #219244
square
#213792 #92216F #927C21 #219244
split-complementary
#213792 #924421 #6F9221
monochromatic
#0A112E #162460 #213792 #2C4AC4 #556ED9

Accessibility & contrast

On white

10.36
#213792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213792
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213792#FFFFFF#000000##FFFFFF
##2137921.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213792;
/* rgb */ color: rgb(33, 55, 146);
/* oklch */ color: oklch(38.1% 0.152 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f6db3',
    500: '#213792',
    950: '#000000',
  },
}
SCSS
$custom: #213792;
$custom-light: #6f6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#213792",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 228.319,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.15201,
    "h": 267.8
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#213792
secondary
#BCA853
accent
#C642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213792

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

Preview Lab → · Contrast checker → · Palette generator →

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