#201272#201272

#201272 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.151 H 277.5°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#201272
RGBrgb(32, 18, 114)
HSLhsl(249, 73%, 26%)
HSVhsv(249, 84%, 45%)
CMYKcmyk(71.9%, 84.2%, 0%, 55.3%)
CIE-LABlab(15.24, 37.01, -51.87)
CIE-LCHlch(15.24, 63.72, 305.51°)
OKLaboklab(28.59% 0.0197 -0.1499)
OKLCHoklch(28.59% 0.151 277.5)
XYZxyz(3.8482, 1.9542, 16.0907)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201272 #647212
analogous
#123472 #201272 #501272
triadic
#201272 #722012 #127220
tetradic
#201272 #721234 #647212 #127250
square
#201272 #721234 #647212 #127250
split-complementary
#201272 #725012 #347212
monochromatic
#07041A #110A3D #201272 #2F1AA7 #3E23DC

Accessibility & contrast

On white

15.10
#201272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201272
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201272#FFFFFF#000000##FFFFFF
##2012721.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201272;
/* rgb */ color: rgb(32, 18, 114);
/* oklch */ color: oklch(28.6% 0.151 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a539c',
    500: '#201272',
    950: '#000000',
  },
}
SCSS
$custom: #201272;
$custom-light: #6a539c;
$custom-dark: #000000;
JSON
{
  "hex": "#201272",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 248.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28589,
    "c": 0.15115,
    "h": 277.5
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#201272
secondary
#98A937
accent
#EF38D5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201272

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

Preview Lab → · Contrast checker → · Palette generator →

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