#211F79#211F79

#211F79 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.147 H 274.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#211F79
RGBrgb(33, 31, 121)
HSLhsl(241, 59%, 30%)
HSVhsv(241, 74%, 47%)
CMYKcmyk(72.7%, 74.4%, 0%, 52.5%)
CIE-LABlab(18.73, 32.09, -50.62)
CIE-LCHlch(18.73, 59.94, 302.37°)
OKLaboklab(31.3% 0.0123 -0.1463)
OKLCHoklch(31.3% 0.147 274.8)
XYZxyz(4.5672, 2.6833, 18.3627)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F79 #77791F
analogous
#1F4A79 #211F79 #4E1F79
triadic
#211F79 #79211F #1F7921
tetradic
#211F79 #791F4A #77791F #1F794E
square
#211F79 #791F4A #77791F #1F794E
split-complementary
#211F79 #794E1F #4A791F
monochromatic
#070618 #141348 #211F79 #2E2BAA #4743CF

Accessibility & contrast

On white

13.66
#211F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F79
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F79#FFFFFF#000000##FFFFFF
##211F791.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211f79;
/* rgb */ color: rgb(33, 31, 121);
/* oklch */ color: oklch(31.3% 0.147 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ca1',
    500: '#211f79',
    950: '#000000',
  },
}
SCSS
$custom: #211f79;
$custom-light: #6b5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#211f79",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 241.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31297,
    "c": 0.14685,
    "h": 274.8
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#211F79
secondary
#AAAC47
accent
#E245DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211F79

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

Preview Lab → · Contrast checker → · Palette generator →

#211F79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva