#20309C#20309C

#20309C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.174 H 269.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#20309C
RGBrgb(32, 48, 156)
HSLhsl(232, 66%, 37%)
HSVhsv(232, 79%, 61%)
CMYKcmyk(79.5%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.22, 33.92, -60.15)
CIE-LCHlch(26.22, 69.05, 299.42°)
OKLaboklab(37.76% -0.0029 -0.1742)
OKLCHoklch(37.76% 0.174 269)
XYZxyz(7.6513, 4.8204, 31.9732)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20309C #9C8C20
analogous
#206E9C #20309C #4E209C
triadic
#20309C #9C2030 #309C20
tetradic
#20309C #9C206E #9C8C20 #209C4E
square
#20309C #9C206E #9C8C20 #209C4E
split-complementary
#20309C #9C4E20 #6E9C20
monochromatic
#0B1136 #162069 #20309C #2A40CF #596ADD

Accessibility & contrast

On white

10.69
#20309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20309C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20309C#FFFFFF#000000##FFFFFF
##20309C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20309c;
/* rgb */ color: rgb(32, 48, 156);
/* oklch */ color: oklch(37.8% 0.174 269.0);
Tailwind
colors: {
  custom: {
    50: '#7268ba',
    500: '#20309c',
    950: '#000000',
  },
}
SCSS
$custom: #20309c;
$custom-light: #7268ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20309c",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 232.258,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.17418,
    "h": 269
  },
  "luminance": 0.04821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20309C

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

Preview Lab → · Contrast checker → · Palette generator →

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