#213475#213475

#213475 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.114 H 267.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#213475
RGBrgb(33, 52, 117)
HSLhsl(226, 56%, 29%)
HSVhsv(226, 72%, 46%)
CMYKcmyk(71.8%, 55.6%, 0%, 54.1%)
CIE-LABlab(23.88, 16.26, -39.66)
CIE-LCHlch(23.88, 42.86, 292.30°)
OKLaboklab(34.98% -0.0044 -0.114)
OKLCHoklch(34.98% 0.114 267.8)
XYZxyz(5.0650, 4.0632, 17.3435)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213475 #756221
analogous
#215E75 #213475 #382175
triadic
#213475 #752134 #347521
tetradic
#213475 #75215E #756221 #217538
square
#213475 #75215E #756221 #217538
split-complementary
#213475 #753821 #5E7521
monochromatic
#070B18 #141F45 #213475 #2E49A5 #4664CB

Accessibility & contrast

On white

11.58
#213475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#213475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213475
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213475#FFFFFF#000000##FFFFFF
##2134751.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D77
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213475;
/* rgb */ color: rgb(33, 52, 117);
/* oklch */ color: oklch(35.0% 0.114 267.8);
Tailwind
colors: {
  custom: {
    50: '#686b9d',
    500: '#213475',
    950: '#000000',
  },
}
SCSS
$custom: #213475;
$custom-light: #686b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#213475",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 117
  },
  "hsl": {
    "h": 226.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34979,
    "c": 0.1141,
    "h": 267.8
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#213475
secondary
#A8934A
accent
#BD49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213475

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

Preview Lab → · Contrast checker → · Palette generator →

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