#213174#213174

#213174 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.117 H 269.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#213174
RGBrgb(33, 49, 116)
HSLhsl(228, 56%, 29%)
HSVhsv(228, 72%, 45%)
CMYKcmyk(71.6%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.93, 17.99, -40.55)
CIE-LCHlch(22.93, 44.36, 293.92°)
OKLaboklab(34.24% -0.0016 -0.1167)
OKLCHoklch(34.24% 0.117 269.2)
XYZxyz(4.8768, 3.7804, 16.9923)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213174 #746421
analogous
#215B74 #213174 #3B2174
triadic
#213174 #742131 #317421
tetradic
#213174 #74215B #746421 #21743B
square
#213174 #74215B #746421 #21743B
split-complementary
#213174 #743B21 #5B7421
monochromatic
#070A18 #131D44 #213174 #2F45A4 #455FCA

Accessibility & contrast

On white

11.96
#213174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#213174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213174
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213174#FFFFFF#000000##FFFFFF
##2131741.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213174;
/* rgb */ color: rgb(33, 49, 116);
/* oklch */ color: oklch(34.2% 0.117 269.2);
Tailwind
colors: {
  custom: {
    50: '#68689d',
    500: '#213174',
    950: '#000000',
  },
}
SCSS
$custom: #213174;
$custom-light: #68689d;
$custom-dark: #000000;
JSON
{
  "hex": "#213174",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 228.434,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34241,
    "c": 0.11671,
    "h": 269.2
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#213174
secondary
#A79549
accent
#C249DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #213174

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

Preview Lab → · Contrast checker → · Palette generator →

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