#211270#211270

#211270 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.148 H 278.5°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#211270
RGBrgb(33, 18, 112)
HSLhsl(250, 72%, 25%)
HSVhsv(250, 84%, 44%)
CMYKcmyk(70.5%, 83.9%, 0%, 56.1%)
CIE-LABlab(15.09, 36.46, -50.82)
CIE-LCHlch(15.09, 62.55, 305.66°)
OKLaboklab(28.43% 0.0219 -0.1468)
OKLCHoklch(28.43% 0.148 278.5)
XYZxyz(3.7672, 1.9255, 15.4992)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211270 #617012
analogous
#123270 #211270 #501270
triadic
#211270 #702112 #127021
tetradic
#211270 #701232 #617012 #127050
square
#211270 #701232 #617012 #127050
split-complementary
#211270 #705012 #327012
monochromatic
#08041A #110A3B #211270 #311AA5 #4023D9

Accessibility & contrast

On white

15.16
#211270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211270
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211270#FFFFFF#000000##FFFFFF
##2112701.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211270;
/* rgb */ color: rgb(33, 18, 112);
/* oklch */ color: oklch(28.4% 0.148 278.5);
Tailwind
colors: {
  custom: {
    50: '#6a539a',
    500: '#211270',
    950: '#000000',
  },
}
SCSS
$custom: #211270;
$custom-light: #6a539a;
$custom-dark: #000000;
JSON
{
  "hex": "#211270",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 249.574,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28433,
    "c": 0.14842,
    "h": 278.5
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#211270
secondary
#95A737
accent
#EF39D2
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211270

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

Preview Lab → · Contrast checker → · Palette generator →

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