#211277#211277

#211277 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.157 H 277.2°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#211277
RGBrgb(33, 18, 119)
HSLhsl(249, 74%, 27%)
HSVhsv(249, 85%, 47%)
CMYKcmyk(72.3%, 84.9%, 0%, 53.3%)
CIE-LABlab(15.94, 38.71, -53.94)
CIE-LCHlch(15.94, 66.39, 305.66°)
OKLaboklab(29.27% 0.0197 -0.1559)
OKLCHoklch(29.27% 0.157 277.2)
XYZxyz(4.1722, 2.0875, 17.6322)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211277 #687712
analogous
#123677 #211277 #541277
triadic
#211277 #772112 #127721
tetradic
#211277 #771236 #687712 #127754
square
#211277 #771236 #687712 #127754
split-complementary
#211277 #775412 #367712
monochromatic
#07041B #120A42 #211277 #301AAC #4125DE

Accessibility & contrast

On white

14.81
#211277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#211277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211277
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211277#FFFFFF#000000##FFFFFF
##2112771.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211277;
/* rgb */ color: rgb(33, 18, 119);
/* oklch */ color: oklch(29.3% 0.157 277.2);
Tailwind
colors: {
  custom: {
    50: '#6b549f',
    500: '#211277',
    950: '#000000',
  },
}
SCSS
$custom: #211277;
$custom-light: #6b549f;
$custom-dark: #000000;
JSON
{
  "hex": "#211277",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 248.911,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29269,
    "c": 0.15711,
    "h": 277.2
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#211277
secondary
#9CAD37
accent
#F037D5
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #211277

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

Preview Lab → · Contrast checker → · Palette generator →

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