#20146A#20146A

#20146A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.139 H 278.7°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#20146A
RGBrgb(32, 20, 106)
HSLhsl(248, 68%, 25%)
HSVhsv(248, 81%, 42%)
CMYKcmyk(69.8%, 81.1%, 0%, 58.4%)
CIE-LABlab(14.67, 33.31, -47.61)
CIE-LCHlch(14.67, 58.10, 304.98°)
OKLaboklab(27.91% 0.0211 -0.1375)
OKLCHoklch(27.91% 0.139 278.7)
XYZxyz(3.4465, 1.8477, 13.8079)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20146A #5E6A14
analogous
#14336A #20146A #4B146A
triadic
#20146A #6A2014 #146A20
tetradic
#20146A #6A1433 #5E6A14 #146A4B
square
#20146A #6A1433 #5E6A14 #146A4B
split-complementary
#20146A #6A4B14 #336A14
monochromatic
#08051A #100A37 #20146A #301E9D #3F27D1

Accessibility & contrast

On white

15.33
#20146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#20146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20146A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20146A#FFFFFF#000000##FFFFFF
##20146A1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20146a;
/* rgb */ color: rgb(32, 20, 106);
/* oklch */ color: oklch(27.9% 0.139 278.7);
Tailwind
colors: {
  custom: {
    50: '#685496',
    500: '#20146a',
    950: '#000000',
  },
}
SCSS
$custom: #20146a;
$custom-light: #685496;
$custom-dark: #000000;
JSON
{
  "hex": "#20146a",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 248.372,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.13909,
    "h": 278.7
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#20146A
secondary
#92A139
accent
#EB3DD3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #20146A

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

Preview Lab → · Contrast checker → · Palette generator →

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