#211276#211276

#211276 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.156 H 277.4°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#211276
RGBrgb(33, 18, 118)
HSLhsl(249, 74%, 27%)
HSVhsv(249, 85%, 46%)
CMYKcmyk(72%, 84.7%, 0%, 53.7%)
CIE-LABlab(15.82, 38.39, -53.50)
CIE-LCHlch(15.82, 65.85, 305.66°)
OKLaboklab(29.15% 0.02 -0.1546)
OKLCHoklch(29.15% 0.156 277.4)
XYZxyz(4.1125, 2.0636, 17.3176)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211276 #677612
analogous
#123576 #211276 #531276
triadic
#211276 #762112 #127621
tetradic
#211276 #761235 #677612 #127653
square
#211276 #761235 #677612 #127653
split-complementary
#211276 #765312 #357612
monochromatic
#07041B #120A41 #211276 #301AAB #4025DE

Accessibility & contrast

On white

14.86
#211276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211276
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211276#FFFFFF#000000##FFFFFF
##2112761.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211276;
/* rgb */ color: rgb(33, 18, 118);
/* oklch */ color: oklch(29.1% 0.156 277.4);
Tailwind
colors: {
  custom: {
    50: '#6b549f',
    500: '#211276',
    950: '#000000',
  },
}
SCSS
$custom: #211276;
$custom-light: #6b549f;
$custom-dark: #000000;
JSON
{
  "hex": "#211276",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 249,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29149,
    "c": 0.15588,
    "h": 277.4
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#211276
secondary
#9BAD37
accent
#F038D5
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #211276

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

Preview Lab → · Contrast checker → · Palette generator →

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