#201274#201274

#201274 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 277.1°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#201274
RGBrgb(32, 18, 116)
HSLhsl(249, 73%, 26%)
HSVhsv(249, 84%, 45%)
CMYKcmyk(72.4%, 84.5%, 0%, 54.5%)
CIE-LABlab(15.49, 37.66, -52.76)
CIE-LCHlch(15.49, 64.82, 305.52°)
OKLaboklab(28.83% 0.0191 -0.1524)
OKLCHoklch(28.83% 0.154 277.1)
XYZxyz(3.9633, 2.0003, 16.6968)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201274 #667412
analogous
#123574 #201274 #511274
triadic
#201274 #742012 #127420
tetradic
#201274 #741235 #667412 #127451
square
#201274 #741235 #667412 #127451
split-complementary
#201274 #745112 #357412
monochromatic
#07041A #110A3F #201274 #2F1AA9 #3E23DD

Accessibility & contrast

On white

15.00
#201274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#201274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201274
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201274#FFFFFF#000000##FFFFFF
##2012741.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201274;
/* rgb */ color: rgb(32, 18, 116);
/* oklch */ color: oklch(28.8% 0.154 277.1);
Tailwind
colors: {
  custom: {
    50: '#6a539d',
    500: '#201274',
    950: '#000000',
  },
}
SCSS
$custom: #201274;
$custom-light: #6a539d;
$custom-dark: #000000;
JSON
{
  "hex": "#201274",
  "rgb": {
    "r": 32,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 248.571,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.15364,
    "h": 277.1
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#201274
secondary
#9AAB37
accent
#F038D6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #201274

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

Preview Lab → · Contrast checker → · Palette generator →

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