#20146C#20146C

#20146C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.142 H 278.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#20146C
RGBrgb(32, 20, 108)
HSLhsl(248, 69%, 25%)
HSVhsv(248, 81%, 42%)
CMYKcmyk(70.4%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.90, 33.98, -48.54)
CIE-LCHlch(14.90, 59.25, 305.00°)
OKLaboklab(28.14% 0.0205 -0.1402)
OKLCHoklch(28.14% 0.142 278.3)
XYZxyz(3.5517, 1.8898, 14.3620)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20146C #606C14
analogous
#14346C #20146C #4C146C
triadic
#20146C #6C2014 #146C20
tetradic
#20146C #6C1434 #606C14 #146C4C
square
#20146C #6C1434 #606C14 #146C4C
split-complementary
#20146C #6C4C14 #346C14
monochromatic
#08051A #110A38 #20146C #2F1EA0 #3F27D3

Accessibility & contrast

On white

15.24
#20146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20146C
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20146C#FFFFFF#000000##FFFFFF
##20146C1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20146c;
/* rgb */ color: rgb(32, 20, 108);
/* oklch */ color: oklch(28.1% 0.142 278.3);
Tailwind
colors: {
  custom: {
    50: '#685497',
    500: '#20146c',
    950: '#000000',
  },
}
SCSS
$custom: #20146c;
$custom-light: #685497;
$custom-dark: #000000;
JSON
{
  "hex": "#20146c",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 248.182,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28137,
    "c": 0.14169,
    "h": 278.3
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#20146C
secondary
#94A339
accent
#EC3CD4
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20146C

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

Preview Lab → · Contrast checker → · Palette generator →

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