#211272#211272

#211272 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.151 H 278.1°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#211272
RGBrgb(33, 18, 114)
HSLhsl(249, 73%, 26%)
HSVhsv(249, 84%, 45%)
CMYKcmyk(71.1%, 84.2%, 0%, 55.3%)
CIE-LABlab(15.33, 37.11, -51.72)
CIE-LCHlch(15.33, 63.66, 305.66°)
OKLaboklab(28.67% 0.0213 -0.1494)
OKLCHoklch(28.67% 0.151 278.1)
XYZxyz(3.8798, 1.9705, 16.0922)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211272 #637212
analogous
#123372 #211272 #511272
triadic
#211272 #722112 #127221
tetradic
#211272 #721233 #637212 #127251
square
#211272 #721233 #637212 #127251
split-complementary
#211272 #725112 #337212
monochromatic
#08041A #120A3D #211272 #301AA7 #4023DC

Accessibility & contrast

On white

15.06
#211272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211272
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211272#FFFFFF#000000##FFFFFF
##2112721.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211272;
/* rgb */ color: rgb(33, 18, 114);
/* oklch */ color: oklch(28.7% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#6a539c',
    500: '#211272',
    950: '#000000',
  },
}
SCSS
$custom: #211272;
$custom-light: #6a539c;
$custom-dark: #000000;
JSON
{
  "hex": "#211272",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 249.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.15092,
    "h": 278.1
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#211272
secondary
#97A937
accent
#EF38D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211272

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

Preview Lab → · Contrast checker → · Palette generator →

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