#211281#211281

#211281 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.5% C 0.169 H 275.6°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#211281
RGBrgb(33, 18, 129)
HSLhsl(248, 76%, 29%)
HSVhsv(248, 86%, 51%)
CMYKcmyk(74.4%, 86%, 0%, 49.4%)
CIE-LABlab(17.18, 41.85, -58.28)
CIE-LCHlch(17.18, 71.75, 305.68°)
OKLaboklab(30.49% 0.0165 -0.1684)
OKLCHoklch(30.49% 0.169 275.6)
XYZxyz(4.8047, 2.3405, 20.9632)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211281 #728112
analogous
#123B81 #211281 #591281
triadic
#211281 #812112 #128121
tetradic
#211281 #81123B #728112 #128159
square
#211281 #81123B #728112 #128159
split-complementary
#211281 #815912 #3B8112
monochromatic
#07041B #130B4B #211281 #2F19B7 #442CE2

Accessibility & contrast

On white

14.30
#211281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211281
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211281#FFFFFF#000000##FFFFFF
##2112811.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211281;
/* rgb */ color: rgb(33, 18, 129);
/* oklch */ color: oklch(30.5% 0.169 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e55a7',
    500: '#211281',
    950: '#000000',
  },
}
SCSS
$custom: #211281;
$custom-light: #6e55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211281",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 248.108,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.16925,
    "h": 275.6
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#211281
secondary
#A5B738
accent
#F236D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211281

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

Preview Lab → · Contrast checker → · Palette generator →

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