#201270#201270

#201270 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.149 H 277.9°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#201270
RGBrgb(32, 18, 112)
HSLhsl(249, 72%, 25%)
HSVhsv(249, 84%, 44%)
CMYKcmyk(71.4%, 83.9%, 0%, 56.1%)
CIE-LABlab(15.00, 36.36, -50.97)
CIE-LCHlch(15.00, 62.61, 305.51°)
OKLaboklab(28.35% 0.0204 -0.1472)
OKLCHoklch(28.35% 0.149 277.9)
XYZxyz(3.7357, 1.9092, 15.4977)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201270 #627012
analogous
#123370 #201270 #4F1270
triadic
#201270 #702012 #127020
tetradic
#201270 #701233 #627012 #12704F
square
#201270 #701233 #627012 #12704F
split-complementary
#201270 #704F12 #337012
monochromatic
#08041A #110A3B #201270 #2F1AA5 #3E23D9

Accessibility & contrast

On white

15.20
#201270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201270
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201270#FFFFFF#000000##FFFFFF
##2012701.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.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: #201270;
/* rgb */ color: rgb(32, 18, 112);
/* oklch */ color: oklch(28.3% 0.149 277.9);
Tailwind
colors: {
  custom: {
    50: '#69539a',
    500: '#201270',
    950: '#000000',
  },
}
SCSS
$custom: #201270;
$custom-light: #69539a;
$custom-dark: #000000;
JSON
{
  "hex": "#201270",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 112
  },
  "hsl": {
    "h": 248.936,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2835,
    "c": 0.14865,
    "h": 277.9
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#201270
secondary
#96A737
accent
#EF39D4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201270

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

Preview Lab → · Contrast checker → · Palette generator →

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