#20146E#20146E

#20146E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.144 H 277.9°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#20146E
RGBrgb(32, 20, 110)
HSLhsl(248, 69%, 25%)
HSVhsv(248, 82%, 43%)
CMYKcmyk(70.9%, 81.8%, 0%, 56.9%)
CIE-LABlab(15.13, 34.65, -49.46)
CIE-LCHlch(15.13, 60.39, 305.01°)
OKLaboklab(28.37% 0.0199 -0.1429)
OKLCHoklch(28.37% 0.144 277.9)
XYZxyz(3.6594, 1.9329, 14.9291)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20146E #626E14
analogous
#14356E #20146E #4D146E
triadic
#20146E #6E2014 #146E20
tetradic
#20146E #6E1435 #626E14 #146E4D
square
#20146E #6E1435 #626E14 #146E4D
split-complementary
#20146E #6E4D14 #356E14
monochromatic
#08051A #110B3A #20146E #2F1DA2 #3E27D6

Accessibility & contrast

On white

15.14
#20146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#20146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20146E
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20146E#FFFFFF#000000##FFFFFF
##20146E1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20146e;
/* rgb */ color: rgb(32, 20, 110);
/* oklch */ color: oklch(28.4% 0.144 277.9);
Tailwind
colors: {
  custom: {
    50: '#695499',
    500: '#20146e',
    950: '#000000',
  },
}
SCSS
$custom: #20146e;
$custom-light: #695499;
$custom-dark: #000000;
JSON
{
  "hex": "#20146e",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 248,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28369,
    "c": 0.14426,
    "h": 277.9
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#20146E
secondary
#96A539
accent
#EC3CD5
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20146E

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

Preview Lab → · Contrast checker → · Palette generator →

#20146E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva