#213497#213497

#213497 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.163 H 268.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#213497
RGBrgb(33, 52, 151)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 59%)
CMYKcmyk(78.1%, 65.6%, 0%, 40.8%)
CIE-LABlab(26.77, 29.52, -56.18)
CIE-LCHlch(26.77, 63.46, 297.72°)
OKLaboklab(38.03% -0.0039 -0.1625)
OKLCHoklch(38.03% 0.163 268.6)
XYZxyz(7.4392, 5.0129, 29.8477)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213497 #978421
analogous
#216F97 #213497 #492197
triadic
#213497 #972134 #349721
tetradic
#213497 #97216F #978421 #219749
square
#213497 #97216F #978421 #219749
split-complementary
#213497 #974921 #6F9721
monochromatic
#0B1133 #162365 #213497 #2C45C9 #586DDA

Accessibility & contrast

On white

10.49
#213497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213497
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213497#FFFFFF#000000##FFFFFF
##2134971.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213497;
/* rgb */ color: rgb(33, 52, 151);
/* oklch */ color: oklch(38.0% 0.163 268.6);
Tailwind
colors: {
  custom: {
    50: '#706bb7',
    500: '#213497',
    950: '#000000',
  },
}
SCSS
$custom: #213497;
$custom-light: #706bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#213497",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 230.339,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38034,
    "c": 0.16257,
    "h": 268.6
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213497

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

Preview Lab → · Contrast checker → · Palette generator →

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