#213598#213598

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

Color values

HEX#213598
RGBrgb(33, 53, 152)
HSLhsl(230, 64%, 36%)
HSVhsv(230, 78%, 60%)
CMYKcmyk(78.3%, 65.1%, 0%, 40.4%)
CIE-LABlab(27.12, 29.23, -56.22)
CIE-LCHlch(27.12, 63.37, 297.47°)
OKLaboklab(38.32% -0.0045 -0.1626)
OKLCHoklch(38.32% 0.163 268.4)
XYZxyz(7.5658, 5.1357, 30.2922)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213598 #988421
analogous
#217198 #213598 #492198
triadic
#213598 #982135 #359821
tetradic
#213598 #982171 #988421 #219849
square
#213598 #982171 #988421 #219849
split-complementary
#213598 #984921 #719821
monochromatic
#0B1233 #162366 #213598 #2C47CA #596EDB

Accessibility & contrast

On white

10.36
#213598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213598
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213598#FFFFFF#000000##FFFFFF
##2135981.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213598;
/* rgb */ color: rgb(33, 53, 152);
/* oklch */ color: oklch(38.3% 0.163 268.4);
Tailwind
colors: {
  custom: {
    50: '#706cb7',
    500: '#213598',
    950: '#000000',
  },
}
SCSS
$custom: #213598;
$custom-light: #706cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#213598",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 229.916,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38317,
    "c": 0.1627,
    "h": 268.4
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#213598
secondary
#BFAD56
accent
#CB40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213598

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

Preview Lab → · Contrast checker → · Palette generator →

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