#211275#211275

#211275 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.0% C 0.155 H 277.6°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#211275
RGBrgb(33, 18, 117)
HSLhsl(249, 73%, 26%)
HSVhsv(249, 85%, 46%)
CMYKcmyk(71.8%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.70, 38.07, -53.06)
CIE-LCHlch(15.70, 65.31, 305.66°)
OKLaboklab(29.03% 0.0203 -0.1533)
OKLCHoklch(29.03% 0.155 277.6)
XYZxyz(4.0534, 2.0399, 17.0063)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211275 #667512
analogous
#123575 #211275 #531275
triadic
#211275 #752112 #127521
tetradic
#211275 #751235 #667512 #127553
square
#211275 #751235 #667512 #127553
split-complementary
#211275 #755312 #357512
monochromatic
#07041B #120A40 #211275 #301AAA #4024DD

Accessibility & contrast

On white

14.91
#211275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211275
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211275#FFFFFF#000000##FFFFFF
##2112751.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211275;
/* rgb */ color: rgb(33, 18, 117);
/* oklch */ color: oklch(29.0% 0.155 277.6);
Tailwind
colors: {
  custom: {
    50: '#6b549e',
    500: '#211275',
    950: '#000000',
  },
}
SCSS
$custom: #211275;
$custom-light: #6b549e;
$custom-dark: #000000;
JSON
{
  "hex": "#211275",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 249.091,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29029,
    "c": 0.15464,
    "h": 277.6
  },
  "luminance": 0.0204
}

Semantic roles & 50–950 ramp

primary
#211275
secondary
#9AAC37
accent
#F038D4
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #211275

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

Preview Lab → · Contrast checker → · Palette generator →

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