#20146D#20146D

#20146D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.143 H 278.1°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#20146D
RGBrgb(32, 20, 109)
HSLhsl(248, 69%, 25%)
HSVhsv(248, 82%, 43%)
CMYKcmyk(70.6%, 81.7%, 0%, 57.3%)
CIE-LABlab(15.01, 34.31, -49.00)
CIE-LCHlch(15.01, 59.82, 305.01°)
OKLaboklab(28.25% 0.0202 -0.1415)
OKLCHoklch(28.25% 0.143 278.1)
XYZxyz(3.6052, 1.9112, 14.6439)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20146D #616D14
analogous
#14346D #20146D #4C146D
triadic
#20146D #6D2014 #146D20
tetradic
#20146D #6D1434 #616D14 #146D4C
square
#20146D #6D1434 #616D14 #146D4C
split-complementary
#20146D #6D4C14 #346D14
monochromatic
#08051A #110B39 #20146D #2F1DA1 #3E27D4

Accessibility & contrast

On white

15.19
#20146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#20146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20146D
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20146D#FFFFFF#000000##FFFFFF
##20146D1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20146d;
/* rgb */ color: rgb(32, 20, 109);
/* oklch */ color: oklch(28.3% 0.143 278.1);
Tailwind
colors: {
  custom: {
    50: '#685498',
    500: '#20146d',
    950: '#000000',
  },
}
SCSS
$custom: #20146d;
$custom-light: #685498;
$custom-dark: #000000;
JSON
{
  "hex": "#20146d",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 248.09,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.14297,
    "h": 278.1
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#20146D
secondary
#95A439
accent
#EC3CD4
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20146D

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

Preview Lab → · Contrast checker → · Palette generator →

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