#213995#213995

#213995 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.154 H 267.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#213995
RGBrgb(33, 57, 149)
HSLhsl(228, 64%, 36%)
HSVhsv(228, 78%, 58%)
CMYKcmyk(77.9%, 61.7%, 0%, 41.6%)
CIE-LABlab(27.90, 25.38, -53.11)
CIE-LCHlch(27.90, 58.86, 295.54°)
OKLaboklab(38.81% -0.0071 -0.1535)
OKLCHoklch(38.81% 0.154 267.4)
XYZxyz(7.5133, 5.4187, 29.0779)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213995 #957D21
analogous
#217395 #213995 #432195
triadic
#213995 #952139 #399521
tetradic
#213995 #952173 #957D21 #219543
square
#213995 #952173 #957D21 #219543
split-complementary
#213995 #954321 #739521
monochromatic
#0B1331 #162663 #213995 #2C4CC7 #5772DA

Accessibility & contrast

On white

10.08
#213995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#213995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213995
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213995#FFFFFF#000000##FFFFFF
##2139951.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213995;
/* rgb */ color: rgb(33, 57, 149);
/* oklch */ color: oklch(38.8% 0.154 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fb5',
    500: '#213995',
    950: '#000000',
  },
}
SCSS
$custom: #213995;
$custom-light: #6f6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#213995",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 227.586,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3881,
    "c": 0.15364,
    "h": 267.4
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#213995
secondary
#BEA854
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213995

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

Preview Lab → · Contrast checker → · Palette generator →

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