#213BA4#213BA4

#213BA4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.172 H 267.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#213BA4
RGBrgb(33, 59, 164)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 80%, 64%)
CMYKcmyk(79.9%, 64%, 0%, 35.7%)
CIE-LABlab(29.74, 29.81, -59.22)
CIE-LCHlch(29.74, 66.30, 296.72°)
OKLaboklab(40.58% -0.0085 -0.1713)
OKLCHoklch(40.58% 0.172 267.2)
XYZxyz(8.8897, 6.1306, 35.8296)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213BA4 #A48A21
analogous
#217CA4 #213BA4 #4921A4
triadic
#213BA4 #A4213B #3BA421
tetradic
#213BA4 #A4217C #A48A21 #21A449
square
#213BA4 #A4217C #A48A21 #21A449
split-complementary
#213BA4 #A44921 #7CA421
monochromatic
#0C163E #172971 #213BA4 #2D4FD5 #6079DF

Accessibility & contrast

On white

9.43
#213BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#213BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213BA4
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213BA4#FFFFFF#000000##FFFFFF
##213BA41.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213ba4;
/* rgb */ color: rgb(33, 59, 164);
/* oklch */ color: oklch(40.6% 0.172 267.2);
Tailwind
colors: {
  custom: {
    50: '#7370c0',
    500: '#213ba4',
    950: '#000000',
  },
}
SCSS
$custom: #213ba4;
$custom-light: #7370c0;
$custom-dark: #000000;
JSON
{
  "hex": "#213ba4",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 228.092,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.17155,
    "h": 267.2
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#213BA4
secondary
#C4AF5D
accent
#C73EE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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