#213495#213495

#213495 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.160 H 268.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#213495
RGBrgb(33, 52, 149)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 58%)
CMYKcmyk(77.9%, 65.1%, 0%, 41.6%)
CIE-LABlab(26.59, 28.76, -55.25)
CIE-LCHlch(26.59, 62.29, 297.50°)
OKLaboklab(37.84% -0.0038 -0.1598)
OKLCHoklch(37.84% 0.16 268.6)
XYZxyz(7.2781, 4.9484, 28.9995)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213495 #958221
analogous
#216E95 #213495 #482195
triadic
#213495 #952134 #349521
tetradic
#213495 #95216E #958221 #219548
square
#213495 #95216E #958221 #219548
split-complementary
#213495 #954821 #6E9521
monochromatic
#0B1131 #162363 #213495 #2C45C7 #576CDA

Accessibility & contrast

On white

10.55
#213495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#213495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213495
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213495#FFFFFF#000000##FFFFFF
##2134951.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213495;
/* rgb */ color: rgb(33, 52, 149);
/* oklch */ color: oklch(37.8% 0.160 268.6);
Tailwind
colors: {
  custom: {
    50: '#706bb5',
    500: '#213495',
    950: '#000000',
  },
}
SCSS
$custom: #213495;
$custom-light: #706bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#213495",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 230.172,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.15986,
    "h": 268.6
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#213495
secondary
#BEAC54
accent
#CC41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213495

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

Preview Lab → · Contrast checker → · Palette generator →

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