#213374#213374

#213374 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.114 H 268.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#213374
RGBrgb(33, 51, 116)
HSLhsl(227, 56%, 29%)
HSVhsv(227, 72%, 45%)
CMYKcmyk(71.6%, 56%, 0%, 54.5%)
CIE-LABlab(23.51, 16.57, -39.62)
CIE-LCHlch(23.51, 42.94, 292.70°)
OKLaboklab(34.68% -0.0035 -0.1139)
OKLCHoklch(34.68% 0.114 268.2)
XYZxyz(4.9623, 3.9515, 17.0208)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213374 #746221
analogous
#215D74 #213374 #392174
triadic
#213374 #742133 #337421
tetradic
#213374 #74215D #746221 #217439
square
#213374 #74215D #746221 #217439
split-complementary
#213374 #743921 #5D7421
monochromatic
#070A18 #131E44 #213374 #2F48A4 #4562CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213374#FFFFFF#000000##FFFFFF
##2133741.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)
#053C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #213374;
/* rgb */ color: rgb(33, 51, 116);
/* oklch */ color: oklch(34.7% 0.114 268.2);
Tailwind
colors: {
  custom: {
    50: '#686a9d',
    500: '#213374',
    950: '#000000',
  },
}
SCSS
$custom: #213374;
$custom-light: #686a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#213374",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 226.988,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34676,
    "c": 0.11396,
    "h": 268.2
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#213374
secondary
#A79349
accent
#BE49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213374

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

Preview Lab → · Contrast checker → · Palette generator →

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