#213893#213893

#213893 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.152 H 267.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#213893
RGBrgb(33, 56, 147)
HSLhsl(228, 63%, 35%)
HSVhsv(228, 78%, 58%)
CMYKcmyk(77.6%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.46, 25.28, -52.60)
CIE-LCHlch(27.46, 58.36, 295.67°)
OKLaboklab(38.43% -0.0064 -0.152)
OKLCHoklch(38.43% 0.152 267.6)
XYZxyz(7.3060, 5.2575, 28.2278)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213893 #937C21
analogous
#217193 #213893 #432193
triadic
#213893 #932138 #389321
tetradic
#213893 #932171 #937C21 #219343
square
#213893 #932171 #937C21 #219343
split-complementary
#213893 #934321 #719321
monochromatic
#0B122F #162561 #213893 #2C4BC5 #5570D9

Accessibility & contrast

On white

10.24
#213893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213893
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213893#FFFFFF#000000##FFFFFF
##2138931.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213893;
/* rgb */ color: rgb(33, 56, 147);
/* oklch */ color: oklch(38.4% 0.152 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eb4',
    500: '#213893',
    950: '#000000',
  },
}
SCSS
$custom: #213893;
$custom-light: #6f6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#213893",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 227.895,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.15214,
    "h": 267.6
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#213893
secondary
#BDA753
accent
#C541E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213893

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

Preview Lab → · Contrast checker → · Palette generator →

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