#213499#213499

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

Color values

HEX#213499
RGBrgb(33, 52, 153)
HSLhsl(231, 65%, 36%)
HSVhsv(231, 78%, 60%)
CMYKcmyk(78.4%, 66%, 0%, 40%)
CIE-LABlab(26.96, 30.28, -57.10)
CIE-LCHlch(26.96, 64.63, 297.94°)
OKLaboklab(38.23% -0.004 -0.1652)
OKLCHoklch(38.23% 0.165 268.6)
XYZxyz(7.6030, 5.0784, 30.7103)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213499 #998621
analogous
#217099 #213499 #4A2199
triadic
#213499 #992134 #349921
tetradic
#213499 #992170 #998621 #21994A
square
#213499 #992170 #998621 #21994A
split-complementary
#213499 #994A21 #709921
monochromatic
#0B1234 #162367 #213499 #2C45CB #596EDB

Accessibility & contrast

On white

10.42
#213499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213499
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213499#FFFFFF#000000##FFFFFF
##2134991.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213499;
/* rgb */ color: rgb(33, 52, 153);
/* oklch */ color: oklch(38.2% 0.165 268.6);
Tailwind
colors: {
  custom: {
    50: '#716bb8',
    500: '#213499',
    950: '#000000',
  },
}
SCSS
$custom: #213499;
$custom-light: #716bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#213499",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 230.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.16526,
    "h": 268.6
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#213499
secondary
#BFAF56
accent
#CD40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #213499

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

Preview Lab → · Contrast checker → · Palette generator →

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