#213993#213993

#213993 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.151 H 267.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#213993
RGBrgb(33, 57, 147)
HSLhsl(227, 63%, 35%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(77.6%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.72, 24.60, -52.17)
CIE-LCHlch(27.72, 57.68, 295.25°)
OKLaboklab(38.63% -0.0071 -0.1507)
OKLCHoklch(38.63% 0.151 267.3)
XYZxyz(7.3550, 5.3554, 28.2442)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213993 #937B21
analogous
#217293 #213993 #422193
triadic
#213993 #932139 #399321
tetradic
#213993 #932172 #937B21 #219342
square
#213993 #932172 #937B21 #219342
split-complementary
#213993 #934221 #729321
monochromatic
#0B122F #162661 #213993 #2C4CC5 #5571D9

Accessibility & contrast

On white

10.14
#213993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#213993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213993
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213993#FFFFFF#000000##FFFFFF
##2139931.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213993;
/* rgb */ color: rgb(33, 57, 147);
/* oklch */ color: oklch(38.6% 0.151 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb3',
    500: '#213993',
    950: '#000000',
  },
}
SCSS
$custom: #213993;
$custom-light: #6f6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#213993",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 227.368,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.15087,
    "h": 267.3
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#213993
secondary
#BDA653
accent
#C441E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213993

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

Preview Lab → · Contrast checker → · Palette generator →

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