#211774#211774

#211774 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.149 H 277.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#211774
RGBrgb(33, 23, 116)
HSLhsl(246, 67%, 27%)
HSVhsv(246, 80%, 45%)
CMYKcmyk(71.6%, 80.2%, 0%, 54.5%)
CIE-LABlab(16.49, 35.11, -51.10)
CIE-LCHlch(16.49, 62.00, 304.49°)
OKLaboklab(29.55% 0.0181 -0.1477)
OKLCHoklch(29.55% 0.149 277)
XYZxyz(4.0850, 2.1967, 16.7283)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211774 #6A7417
analogous
#173B74 #211774 #501774
triadic
#211774 #742117 #177421
tetradic
#211774 #74173B #6A7417 #177450
square
#211774 #74173B #6A7417 #177450
split-complementary
#211774 #745017 #3B7417
monochromatic
#07051A #120D41 #211774 #3021A7 #4130D6

Accessibility & contrast

On white

14.59
#211774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211774
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211774#FFFFFF#000000##FFFFFF
##2117741.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.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: #211774;
/* rgb */ color: rgb(33, 23, 116);
/* oklch */ color: oklch(29.5% 0.149 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a569d',
    500: '#211774',
    950: '#000000',
  },
}
SCSS
$custom: #211774;
$custom-light: #6a569d;
$custom-dark: #000000;
JSON
{
  "hex": "#211774",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 246.452,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29546,
    "c": 0.14879,
    "h": 277
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#211774
secondary
#9EA93D
accent
#EA3ED7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211774

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

Preview Lab → · Contrast checker → · Palette generator →

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