#20107D#20107D

#20107D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.166 H 275.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#20107D
RGBrgb(32, 16, 125)
HSLhsl(249, 77%, 28%)
HSVhsv(249, 87%, 49%)
CMYKcmyk(74.4%, 87.2%, 0%, 51%)
CIE-LABlab(16.30, 41.43, -57.20)
CIE-LCHlch(16.30, 70.63, 305.91°)
OKLaboklab(29.71% 0.017 -0.1653)
OKLCHoklch(29.71% 0.166 275.9)
XYZxyz(4.4814, 2.1579, 19.5784)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20107D #6D7D10
analogous
#10377D #20107D #56107D
triadic
#20107D #7D2010 #107D20
tetradic
#20107D #7D1037 #6D7D10 #107D56
square
#20107D #7D1037 #6D7D10 #107D56
split-complementary
#20107D #7D5610 #377D10
monochromatic
#07031B #120947 #20107D #2E17B3 #4024E3

Accessibility & contrast

On white

14.67
#20107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#20107D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20107D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20107D#FFFFFF#000000##FFFFFF
##20107D1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20107d;
/* rgb */ color: rgb(32, 16, 125);
/* oklch */ color: oklch(29.7% 0.166 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d53a4',
    500: '#20107d',
    950: '#000000',
  },
}
SCSS
$custom: #20107d;
$custom-light: #6d53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20107d",
  "rgb": {
    "r": 32,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 248.807,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.2971,
    "c": 0.16618,
    "h": 275.9
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#20107D
secondary
#A1B335
accent
#F434D8
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #20107D

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

Preview Lab → · Contrast checker → · Palette generator →

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