#201276#201276

#201276 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.156 H 276.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#201276
RGBrgb(32, 18, 118)
HSLhsl(248, 74%, 27%)
HSVhsv(248, 85%, 46%)
CMYKcmyk(72.9%, 84.7%, 0%, 53.7%)
CIE-LABlab(15.73, 38.30, -53.64)
CIE-LCHlch(15.73, 65.91, 305.53°)
OKLaboklab(29.07% 0.0185 -0.155)
OKLCHoklch(29.07% 0.156 276.8)
XYZxyz(4.0809, 2.0473, 17.3161)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201276 #687612
analogous
#123676 #201276 #521276
triadic
#201276 #762012 #127620
tetradic
#201276 #761236 #687612 #127652
square
#201276 #761236 #687612 #127652
split-complementary
#201276 #765212 #367612
monochromatic
#07041B #120A41 #201276 #2E1AAB #3F25DE

Accessibility & contrast

On white

14.90
#201276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201276
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201276#FFFFFF#000000##FFFFFF
##2012761.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201276;
/* rgb */ color: rgb(32, 18, 118);
/* oklch */ color: oklch(29.1% 0.156 276.8);
Tailwind
colors: {
  custom: {
    50: '#6b549f',
    500: '#201276',
    950: '#000000',
  },
}
SCSS
$custom: #201276;
$custom-light: #6b549f;
$custom-dark: #000000;
JSON
{
  "hex": "#201276",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 248.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29069,
    "c": 0.15612,
    "h": 276.8
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#201276
secondary
#9CAD37
accent
#F038D6
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #201276

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

Preview Lab → · Contrast checker → · Palette generator →

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