#213CAE#213CAE

#213CAE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.184 H 267.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#213CAE
RGBrgb(33, 60, 174)
HSLhsl(229, 68%, 41%)
HSVhsv(229, 81%, 68%)
CMYKcmyk(81%, 65.5%, 0%, 31.8%)
CIE-LABlab(30.90, 32.93, -63.31)
CIE-LCHlch(30.90, 71.37, 297.48°)
OKLaboklab(41.72% -0.0093 -0.1833)
OKLCHoklch(41.72% 0.184 267.1)
XYZxyz(9.8804, 6.6099, 40.7913)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CAE #AE9321
analogous
#2182AE #213CAE #4D21AE
triadic
#213CAE #AE213C #3CAE21
tetradic
#213CAE #AE2182 #AE9321 #21AE4D
square
#213CAE #AE2182 #AE9321 #21AE4D
split-complementary
#213CAE #AE4D21 #82AE21
monochromatic
#0D1947 #172A7B #213CAE #3453D8 #677FE2

Accessibility & contrast

On white

9.04
#213CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#213CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213CAE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CAE#FFFFFF#000000##FFFFFF
##213CAE1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #213cae;
/* rgb */ color: rgb(33, 60, 174);
/* oklch */ color: oklch(41.7% 0.184 267.1);
Tailwind
colors: {
  custom: {
    50: '#7671c7',
    500: '#213cae',
    950: '#000000',
  },
}
SCSS
$custom: #213cae;
$custom-light: #7671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#213cae",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 228.511,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.18356,
    "h": 267.1
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#213CAE
secondary
#C8B463
accent
#CA3DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #213CAE

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

Preview Lab → · Contrast checker → · Palette generator →

#213CAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva