#211874#211874

#211874 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.148 H 276.8°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#211874
RGBrgb(33, 24, 116)
HSLhsl(246, 66%, 27%)
HSVhsv(246, 79%, 45%)
CMYKcmyk(71.6%, 79.3%, 0%, 54.5%)
CIE-LABlab(16.69, 34.54, -50.78)
CIE-LCHlch(16.69, 61.41, 304.23°)
OKLaboklab(29.69% 0.0175 -0.1467)
OKLCHoklch(29.69% 0.148 276.8)
XYZxyz(4.1052, 2.2372, 16.7351)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211874 #6B7418
analogous
#183D74 #211874 #4F1874
triadic
#211874 #742118 #187421
tetradic
#211874 #74183D #6B7418 #18744F
square
#211874 #74183D #6B7418 #18744F
split-complementary
#211874 #744F18 #3D7418
monochromatic
#070519 #130E41 #211874 #2F22A7 #4232D5

Accessibility & contrast

On white

14.51
#211874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211874
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211874#FFFFFF#000000##FFFFFF
##2118741.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211874;
/* rgb */ color: rgb(33, 24, 116);
/* oklch */ color: oklch(29.7% 0.148 276.8);
Tailwind
colors: {
  custom: {
    50: '#6a579d',
    500: '#211874',
    950: '#000000',
  },
}
SCSS
$custom: #211874;
$custom-light: #6a579d;
$custom-dark: #000000;
JSON
{
  "hex": "#211874",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 245.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.14778,
    "h": 276.8
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#211874
secondary
#9FA93F
accent
#E93FD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211874

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

Preview Lab → · Contrast checker → · Palette generator →

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