#213470#213470

#213470 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.107 H 267.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#213470
RGBrgb(33, 52, 112)
HSLhsl(226, 54%, 28%)
HSVhsv(226, 71%, 44%)
CMYKcmyk(70.5%, 53.6%, 0%, 56.1%)
CIE-LABlab(23.50, 14.28, -37.07)
CIE-LCHlch(23.50, 39.73, 291.06°)
OKLaboklab(34.57% -0.0049 -0.1064)
OKLCHoklch(34.57% 0.107 267.4)
XYZxyz(4.7788, 3.9487, 15.8364)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213470 #705D21
analogous
#215B70 #213470 #352170
triadic
#213470 #702134 #347021
tetradic
#213470 #70215B #705D21 #217035
square
#213470 #70215B #705D21 #217035
split-complementary
#213470 #703521 #5B7021
monochromatic
#070B18 #131E41 #213470 #2F4A9F #4463C8

Accessibility & contrast

On white

11.73
#213470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#213470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213470
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213470#FFFFFF#000000##FFFFFF
##2134701.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213470;
/* rgb */ color: rgb(33, 52, 112);
/* oklch */ color: oklch(34.6% 0.107 267.4);
Tailwind
colors: {
  custom: {
    50: '#676b99',
    500: '#213470',
    950: '#000000',
  },
}
SCSS
$custom: #213470;
$custom-light: #676b99;
$custom-dark: #000000;
JSON
{
  "hex": "#213470",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 225.57,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34572,
    "c": 0.10652,
    "h": 267.4
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#213470
secondary
#A48E49
accent
#BA4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #213470

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

Preview Lab → · Contrast checker → · Palette generator →

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