#213698#213698

#213698 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.161 H 268.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#213698
RGBrgb(33, 54, 152)
HSLhsl(229, 64%, 36%)
HSVhsv(229, 78%, 60%)
CMYKcmyk(78.3%, 64.5%, 0%, 40.4%)
CIE-LABlab(27.37, 28.56, -55.80)
CIE-LCHlch(27.37, 62.69, 297.11°)
OKLaboklab(38.51% -0.0052 -0.1614)
OKLCHoklch(38.51% 0.161 268.2)
XYZxyz(7.6119, 5.2278, 30.3076)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213698 #988321
analogous
#217298 #213698 #482198
triadic
#213698 #982136 #369821
tetradic
#213698 #982172 #988321 #219848
square
#213698 #982172 #988321 #219848
split-complementary
#213698 #984821 #729821
monochromatic
#0B1233 #162466 #213698 #2C48CA #5970DB

Accessibility & contrast

On white

10.26
#213698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213698
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213698#FFFFFF#000000##FFFFFF
##2136981.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213698;
/* rgb */ color: rgb(33, 54, 152);
/* oklch */ color: oklch(38.5% 0.161 268.2);
Tailwind
colors: {
  custom: {
    50: '#706db7',
    500: '#213698',
    950: '#000000',
  },
}
SCSS
$custom: #213698;
$custom-light: #706db7;
$custom-dark: #000000;
JSON
{
  "hex": "#213698",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 229.412,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.16148,
    "h": 268.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#213698
secondary
#BFAC56
accent
#CA40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213698

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

Preview Lab → · Contrast checker → · Palette generator →

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