#211E7C#211E7C

#211E7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.152 H 274.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#211E7C
RGBrgb(33, 30, 124)
HSLhsl(242, 61%, 30%)
HSVhsv(242, 76%, 49%)
CMYKcmyk(73.4%, 75.8%, 0%, 51.4%)
CIE-LABlab(18.83, 33.77, -52.37)
CIE-LCHlch(18.83, 62.31, 302.81°)
OKLaboklab(31.47% 0.0123 -0.1514)
OKLCHoklch(31.47% 0.152 274.6)
XYZxyz(4.7284, 2.7067, 19.3381)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E7C #797C1E
analogous
#1E4A7C #211E7C #501E7C
triadic
#211E7C #7C211E #1E7C21
tetradic
#211E7C #7C1E4A #797C1E #1E7C50
square
#211E7C #7C1E4A #797C1E #1E7C50
split-complementary
#211E7C #7C501E #4A7C1E
monochromatic
#070619 #14124B #211E7C #2E2AAD #4743D1

Accessibility & contrast

On white

13.62
#211E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211E7C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E7C#FFFFFF#000000##FFFFFF
##211E7C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211e7c;
/* rgb */ color: rgb(33, 30, 124);
/* oklch */ color: oklch(31.5% 0.152 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b5ba3',
    500: '#211e7c',
    950: '#000000',
  },
}
SCSS
$custom: #211e7c;
$custom-light: #6b5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#211e7c",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 241.915,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31465,
    "c": 0.15194,
    "h": 274.6
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#211E7C
secondary
#ACAF46
accent
#E444DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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