#201268#201268

#201268 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.138 H 279.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#201268
RGBrgb(32, 18, 104)
HSLhsl(250, 70%, 24%)
HSVhsv(250, 83%, 41%)
CMYKcmyk(69.2%, 82.7%, 0%, 59.2%)
CIE-LABlab(14.05, 33.74, -47.31)
CIE-LCHlch(14.05, 58.11, 305.50°)
OKLaboklab(27.41% 0.0228 -0.1366)
OKLCHoklch(27.41% 0.138 279.5)
XYZxyz(3.3099, 1.7389, 13.2552)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201268 #5A6812
analogous
#122F68 #201268 #4B1268
triadic
#201268 #682012 #126820
tetradic
#201268 #68122F #5A6812 #12684B
square
#201268 #68122F #5A6812 #12684B
split-complementary
#201268 #684B12 #2F6812
monochromatic
#08051A #100934 #201268 #301B9C #4024D0

Accessibility & contrast

On white

15.58
#201268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#201268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201268
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201268#FFFFFF#000000##FFFFFF
##2012681.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201268;
/* rgb */ color: rgb(32, 18, 104);
/* oklch */ color: oklch(27.4% 0.138 279.5);
Tailwind
colors: {
  custom: {
    50: '#675294',
    500: '#201268',
    950: '#000000',
  },
}
SCSS
$custom: #201268;
$custom-light: #675294;
$custom-dark: #000000;
JSON
{
  "hex": "#201268",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 249.767,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27408,
    "c": 0.13849,
    "h": 279.5
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#201268
secondary
#8EA036
accent
#ED3BD0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #201268

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

Preview Lab → · Contrast checker → · Palette generator →

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