#213774#213774

#213774 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.108 H 266.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#213774
RGBrgb(33, 55, 116)
HSLhsl(224, 56%, 29%)
HSVhsv(224, 72%, 45%)
CMYKcmyk(71.6%, 52.6%, 0%, 54.5%)
CIE-LABlab(24.69, 13.75, -37.71)
CIE-LCHlch(24.69, 40.14, 290.03°)
OKLaboklab(35.57% -0.0074 -0.1082)
OKLCHoklch(35.57% 0.108 266.1)
XYZxyz(5.1447, 4.3162, 17.0816)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213774 #745E21
analogous
#216174 #213774 #342174
triadic
#213774 #742137 #377421
tetradic
#213774 #742161 #745E21 #217434
square
#213774 #742161 #745E21 #217434
split-complementary
#213774 #743421 #617421
monochromatic
#070B18 #132044 #213774 #2F4EA4 #4568CA

Accessibility & contrast

On white

11.27
#213774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213774
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213774#FFFFFF#000000##FFFFFF
##2137741.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004550
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213774;
/* rgb */ color: rgb(33, 55, 116);
/* oklch */ color: oklch(35.6% 0.108 266.1);
Tailwind
colors: {
  custom: {
    50: '#676d9c',
    500: '#213774',
    950: '#000000',
  },
}
SCSS
$custom: #213774;
$custom-light: #676d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#213774",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 224.096,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3557,
    "c": 0.10849,
    "h": 266.1
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#213774
secondary
#A78E49
accent
#B749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213774

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

Preview Lab → · Contrast checker → · Palette generator →

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