#20309D#20309D

#20309D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.175 H 269.0°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#20309D
RGBrgb(32, 48, 157)
HSLhsl(232, 66%, 37%)
HSVhsv(232, 80%, 62%)
CMYKcmyk(79.6%, 69.4%, 0%, 38.4%)
CIE-LABlab(26.32, 34.29, -60.59)
CIE-LCHlch(26.32, 69.62, 299.51°)
OKLaboklab(37.86% -0.003 -0.1755)
OKLCHoklch(37.86% 0.175 269)
XYZxyz(7.7363, 4.8544, 32.4210)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20309D #9D8D20
analogous
#206F9D #20309D #4F209D
triadic
#20309D #9D2030 #309D20
tetradic
#20309D #9D206F #9D8D20 #209D4F
square
#20309D #9D206F #9D8D20 #209D4F
split-complementary
#20309D #9D4F20 #6F9D20
monochromatic
#0B1137 #16206A #20309D #2A40D0 #5A6BDD

Accessibility & contrast

On white

10.65
#20309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#20309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20309D
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20309D#FFFFFF#000000##FFFFFF
##20309D1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #20309d;
/* rgb */ color: rgb(32, 48, 157);
/* oklch */ color: oklch(37.9% 0.175 269.0);
Tailwind
colors: {
  custom: {
    50: '#7268bb',
    500: '#20309d',
    950: '#000000',
  },
}
SCSS
$custom: #20309d;
$custom-light: #7268bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20309d",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 232.32,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.17549,
    "h": 269
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#20309D
secondary
#C1B457
accent
#D33FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20309D

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

Preview Lab → · Contrast checker → · Palette generator →

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