#213597#213597

#213597 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.161 H 268.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#213597
RGBrgb(33, 53, 151)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 59%)
CMYKcmyk(78.1%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.03, 28.85, -55.76)
CIE-LCHlch(27.03, 62.78, 297.36°)
OKLaboklab(38.22% -0.0045 -0.1613)
OKLCHoklch(38.22% 0.161 268.4)
XYZxyz(7.4843, 5.1031, 29.8627)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213597 #978321
analogous
#217097 #213597 #482197
triadic
#213597 #972135 #359721
tetradic
#213597 #972170 #978321 #219748
square
#213597 #972170 #978321 #219748
split-complementary
#213597 #974821 #709721
monochromatic
#0B1233 #162365 #213597 #2C47C9 #586EDA

Accessibility & contrast

On white

10.39
#213597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#213597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213597
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213597#FFFFFF#000000##FFFFFF
##2135971.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213597;
/* rgb */ color: rgb(33, 53, 151);
/* oklch */ color: oklch(38.2% 0.161 268.4);
Tailwind
colors: {
  custom: {
    50: '#706cb7',
    500: '#213597',
    950: '#000000',
  },
}
SCSS
$custom: #213597;
$custom-light: #706cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#213597",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 229.831,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.16134,
    "h": 268.4
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#213597
secondary
#BEAD55
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213597

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

Preview Lab → · Contrast checker → · Palette generator →

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