#20146F#20146F

#20146F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.146 H 277.7°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#20146F
RGBrgb(32, 20, 111)
HSLhsl(248, 69%, 26%)
HSVhsv(248, 82%, 44%)
CMYKcmyk(71.2%, 82%, 0%, 56.5%)
CIE-LABlab(15.25, 34.98, -49.91)
CIE-LCHlch(15.25, 60.95, 305.02°)
OKLaboklab(28.49% 0.0196 -0.1442)
OKLCHoklch(28.49% 0.146 277.7)
XYZxyz(3.7141, 1.9548, 15.2174)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20146F #636F14
analogous
#14356F #20146F #4D146F
triadic
#20146F #6F2014 #146F20
tetradic
#20146F #6F1435 #636F14 #146F4D
square
#20146F #6F1435 #636F14 #146F4D
split-complementary
#20146F #6F4D14 #356F14
monochromatic
#07051A #110B3B #20146F #2F1DA3 #3E27D7

Accessibility & contrast

On white

15.10
#20146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20146F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20146F#FFFFFF#000000##FFFFFF
##20146F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20146f;
/* rgb */ color: rgb(32, 20, 111);
/* oklch */ color: oklch(28.5% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#695499',
    500: '#20146f',
    950: '#000000',
  },
}
SCSS
$custom: #20146f;
$custom-light: #695499;
$custom-dark: #000000;
JSON
{
  "hex": "#20146f",
  "rgb": {
    "r": 32,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 247.912,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28485,
    "c": 0.14554,
    "h": 277.7
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#20146F
secondary
#97A639
accent
#EC3CD5
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #20146F

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

Preview Lab → · Contrast checker → · Palette generator →

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