#213CAF#213CAF

#213CAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.185 H 267.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#213CAF
RGBrgb(33, 60, 175)
HSLhsl(229, 68%, 41%)
HSVhsv(229, 81%, 69%)
CMYKcmyk(81.1%, 65.7%, 0%, 31.4%)
CIE-LABlab(30.99, 33.31, -63.76)
CIE-LCHlch(30.99, 71.94, 297.58°)
OKLaboklab(41.81% -0.0094 -0.1846)
OKLCHoklch(41.81% 0.185 267.1)
XYZxyz(9.9782, 6.6490, 41.3066)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CAF #AF9421
analogous
#2183AF #213CAF #4D21AF
triadic
#213CAF #AF213C #3CAF21
tetradic
#213CAF #AF2183 #AF9421 #21AF4D
square
#213CAF #AF2183 #AF9421 #21AF4D
split-complementary
#213CAF #AF4D21 #83AF21
monochromatic
#0E1948 #172A7C #213CAF #3454D9 #687FE3

Accessibility & contrast

On white

9.01
#213CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#213CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213CAF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CAF#FFFFFF#000000##FFFFFF
##213CAF1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #213caf;
/* rgb */ color: rgb(33, 60, 175);
/* oklch */ color: oklch(41.8% 0.185 267.1);
Tailwind
colors: {
  custom: {
    50: '#7671c8',
    500: '#213caf',
    950: '#000000',
  },
}
SCSS
$custom: #213caf;
$custom-light: #7671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#213caf",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 228.592,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.18486,
    "h": 267.1
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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