#20309B#20309B

#20309B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.173 H 269.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#20309B
RGBrgb(32, 48, 155)
HSLhsl(232, 66%, 37%)
HSVhsv(232, 79%, 61%)
CMYKcmyk(79.4%, 69%, 0%, 39.2%)
CIE-LABlab(26.12, 33.55, -59.70)
CIE-LCHlch(26.12, 68.48, 299.34°)
OKLaboklab(37.66% -0.0029 -0.1728)
OKLCHoklch(37.66% 0.173 269.1)
XYZxyz(7.5670, 4.7867, 31.5291)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20309B #9B8B20
analogous
#206E9B #20309B #4E209B
triadic
#20309B #9B2030 #309B20
tetradic
#20309B #9B206E #9B8B20 #209B4E
square
#20309B #9B206E #9B8B20 #209B4E
split-complementary
#20309B #9B4E20 #6E9B20
monochromatic
#0B1136 #162068 #20309B #2A40CE #596ADD

Accessibility & contrast

On white

10.73
#20309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#20309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20309B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20309B#FFFFFF#000000##FFFFFF
##20309B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20309b;
/* rgb */ color: rgb(32, 48, 155);
/* oklch */ color: oklch(37.7% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#7168ba',
    500: '#20309b',
    950: '#000000',
  },
}
SCSS
$custom: #20309b;
$custom-light: #7168ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20309b",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 232.195,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.17287,
    "h": 269.1
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#20309B
secondary
#C1B356
accent
#D33FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20309B

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

Preview Lab → · Contrast checker → · Palette generator →

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