#213A95#213A95

#213A95 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.152 H 267.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#213A95
RGBrgb(33, 58, 149)
HSLhsl(227, 64%, 36%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(77.9%, 61.1%, 0%, 41.6%)
CIE-LABlab(28.16, 24.70, -52.67)
CIE-LCHlch(28.16, 58.18, 295.12°)
OKLaboklab(39.01% -0.0078 -0.1522)
OKLCHoklch(39.01% 0.152 267.1)
XYZxyz(7.5632, 5.5185, 29.0945)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A95 #957C21
analogous
#217495 #213A95 #422195
triadic
#213A95 #95213A #3A9521
tetradic
#213A95 #952174 #957C21 #219542
square
#213A95 #952174 #957C21 #219542
split-complementary
#213A95 #954221 #749521
monochromatic
#0B1331 #162663 #213A95 #2C4EC7 #5773DA

Accessibility & contrast

On white

9.98
#213A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#213A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A95
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A95#FFFFFF#000000##FFFFFF
##213A951.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213a95;
/* rgb */ color: rgb(33, 58, 149);
/* oklch */ color: oklch(39.0% 0.152 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fb5',
    500: '#213a95',
    950: '#000000',
  },
}
SCSS
$custom: #213a95;
$custom-light: #6f6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#213a95",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 227.069,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39009,
    "c": 0.15238,
    "h": 267.1
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#213A95
secondary
#BEA754
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213A95

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

Preview Lab → · Contrast checker → · Palette generator →

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