#20146B#20146B

#20146B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.140 H 278.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#20146B
RGBrgb(32, 20, 107)
HSLhsl(248, 69%, 25%)
HSVhsv(248, 81%, 42%)
CMYKcmyk(70.1%, 81.3%, 0%, 58%)
CIE-LABlab(14.78, 33.65, -48.07)
CIE-LCHlch(14.78, 58.68, 304.99°)
OKLaboklab(28.02% 0.0208 -0.1388)
OKLCHoklch(28.02% 0.14 278.5)
XYZxyz(3.4988, 1.8686, 14.0834)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20146B #5F6B14
analogous
#14336B #20146B #4C146B
triadic
#20146B #6B2014 #146B20
tetradic
#20146B #6B1433 #5F6B14 #146B4C
square
#20146B #6B1433 #5F6B14 #146B4C
split-complementary
#20146B #6B4C14 #336B14
monochromatic
#08051A #110A37 #20146B #2F1E9F #3F27D2

Accessibility & contrast

On white

15.29
#20146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20146B
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20146B#FFFFFF#000000##FFFFFF
##20146B1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #20146b;
/* rgb */ color: rgb(32, 20, 107);
/* oklch */ color: oklch(28.0% 0.140 278.5);
Tailwind
colors: {
  custom: {
    50: '#685496',
    500: '#20146b',
    950: '#000000',
  },
}
SCSS
$custom: #20146b;
$custom-light: #685496;
$custom-dark: #000000;
JSON
{
  "hex": "#20146b",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 248.276,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28022,
    "c": 0.14039,
    "h": 278.5
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#20146B
secondary
#93A239
accent
#EB3CD3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #20146B

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

Preview Lab → · Contrast checker → · Palette generator →

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