#211273#211273

#211273 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.152 H 277.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#211273
RGBrgb(33, 18, 115)
HSLhsl(249, 73%, 26%)
HSVhsv(249, 84%, 45%)
CMYKcmyk(71.3%, 84.3%, 0%, 54.9%)
CIE-LABlab(15.45, 37.43, -52.17)
CIE-LCHlch(15.45, 64.21, 305.66°)
OKLaboklab(28.79% 0.021 -0.1507)
OKLCHoklch(28.79% 0.152 277.9)
XYZxyz(3.9370, 1.9934, 16.3936)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211273 #647312
analogous
#123373 #211273 #511273
triadic
#211273 #732112 #127321
tetradic
#211273 #731233 #647312 #127351
square
#211273 #731233 #647312 #127351
split-complementary
#211273 #735112 #337312
monochromatic
#08041A #120A3E #211273 #301AA8 #4023DD

Accessibility & contrast

On white

15.01
#211273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211273
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211273#FFFFFF#000000##FFFFFF
##2112731.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211273;
/* rgb */ color: rgb(33, 18, 115);
/* oklch */ color: oklch(28.8% 0.152 277.9);
Tailwind
colors: {
  custom: {
    50: '#6a539c',
    500: '#211273',
    950: '#000000',
  },
}
SCSS
$custom: #211273;
$custom-light: #6a539c;
$custom-dark: #000000;
JSON
{
  "hex": "#211273",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 249.278,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2879,
    "c": 0.15216,
    "h": 277.9
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#211273
secondary
#98AA37
accent
#F038D3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #211273

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

Preview Lab → · Contrast checker → · Palette generator →

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