#213874#213874

#213874 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.107 H 265.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#213874
RGBrgb(33, 56, 116)
HSLhsl(223, 56%, 29%)
HSVhsv(223, 72%, 45%)
CMYKcmyk(71.6%, 51.7%, 0%, 54.5%)
CIE-LABlab(24.99, 13.04, -37.23)
CIE-LCHlch(24.99, 39.45, 289.31°)
OKLaboklab(35.8% -0.0084 -0.1068)
OKLCHoklch(35.8% 0.107 265.5)
XYZxyz(5.1927, 4.4121, 17.0976)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213874 #745D21
analogous
#216274 #213874 #332174
triadic
#213874 #742138 #387421
tetradic
#213874 #742162 #745D21 #217433
square
#213874 #742162 #745D21 #217433
split-complementary
#213874 #743321 #627421
monochromatic
#070C18 #132144 #213874 #2F4FA4 #456ACA

Accessibility & contrast

On white

11.15
#213874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#213874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213874
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213874#FFFFFF#000000##FFFFFF
##2138741.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213874;
/* rgb */ color: rgb(33, 56, 116);
/* oklch */ color: oklch(35.8% 0.107 265.5);
Tailwind
colors: {
  custom: {
    50: '#676e9c',
    500: '#213874',
    950: '#000000',
  },
}
SCSS
$custom: #213874;
$custom-light: #676e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#213874",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 116
  },
  "hsl": {
    "h": 223.373,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35797,
    "c": 0.10713,
    "h": 265.5
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#213874
secondary
#A78D49
accent
#B549DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #213874

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

Preview Lab → · Contrast checker → · Palette generator →

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