#213895#213895

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

Color values

HEX#213895
RGBrgb(33, 56, 149)
HSLhsl(228, 64%, 36%)
HSVhsv(228, 78%, 58%)
CMYKcmyk(77.9%, 62.4%, 0%, 41.6%)
CIE-LABlab(27.63, 26.06, -53.55)
CIE-LCHlch(27.63, 59.55, 295.95°)
OKLaboklab(38.61% -0.0064 -0.1548)
OKLCHoklch(38.61% 0.155 267.6)
XYZxyz(7.4643, 5.3208, 29.0616)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213895 #957E21
analogous
#217295 #213895 #442195
triadic
#213895 #952138 #389521
tetradic
#213895 #952172 #957E21 #219544
square
#213895 #952172 #957E21 #219544
split-complementary
#213895 #954421 #729521
monochromatic
#0B1231 #162563 #213895 #2C4BC7 #5771DA

Accessibility & contrast

On white

10.17
#213895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213895
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213895#FFFFFF#000000##FFFFFF
##2138951.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213895;
/* rgb */ color: rgb(33, 56, 149);
/* oklch */ color: oklch(38.6% 0.155 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f6eb5',
    500: '#213895',
    950: '#000000',
  },
}
SCSS
$custom: #213895;
$custom-light: #6f6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#213895",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 149
  },
  "hsl": {
    "h": 228.103,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.1549,
    "h": 267.6
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#213895
secondary
#BEA954
accent
#C641E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213895

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

Preview Lab → · Contrast checker → · Palette generator →

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