#213474#213474

#213474 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.113 H 267.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#213474
RGBrgb(33, 52, 116)
HSLhsl(226, 56%, 29%)
HSVhsv(226, 72%, 45%)
CMYKcmyk(71.6%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.80, 15.87, -39.14)
CIE-LCHlch(23.80, 42.24, 292.06°)
OKLaboklab(34.9% -0.0045 -0.1125)
OKLCHoklch(34.9% 0.113 267.7)
XYZxyz(5.0065, 4.0398, 17.0355)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213474 #746121
analogous
#215E74 #213474 #382174
triadic
#213474 #742134 #347421
tetradic
#213474 #74215E #746121 #217438
square
#213474 #74215E #746121 #217438
split-complementary
#213474 #743821 #5E7421
monochromatic
#070B18 #131F44 #213474 #2F49A4 #4564CA

Accessibility & contrast

On white

11.62
#213474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213474
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213474#FFFFFF#000000##FFFFFF
##2134741.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #213474;
/* rgb */ color: rgb(33, 52, 116);
/* oklch */ color: oklch(34.9% 0.113 267.7);
Tailwind
colors: {
  custom: {
    50: '#676b9c',
    500: '#213474',
    950: '#000000',
  },
}
SCSS
$custom: #213474;
$custom-light: #676b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#213474",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 226.265,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.1126,
    "h": 267.7
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213474

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

Preview Lab → · Contrast checker → · Palette generator →

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