#20307D#20307D

#20307D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.132 H 269.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#20307D
RGBrgb(32, 48, 125)
HSLhsl(230, 59%, 31%)
HSVhsv(230, 74%, 49%)
CMYKcmyk(74.4%, 61.6%, 0%, 51%)
CIE-LABlab(23.34, 22.08, -45.61)
CIE-LCHlch(23.34, 50.67, 295.83°)
OKLaboklab(34.77% -0.0015 -0.1316)
OKLCHoklch(34.77% 0.132 269.3)
XYZxyz(5.3530, 3.9011, 19.8689)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20307D #7D6D20
analogous
#205E7D #20307D #3E207D
triadic
#20307D #7D2030 #307D20
tetradic
#20307D #7D205E #7D6D20 #207D3E
square
#20307D #7D205E #7D6D20 #207D3E
split-complementary
#20307D #7D3E20 #5E7D20
monochromatic
#070B1C #141D4C #20307D #2C43AE #475FD0

Accessibility & contrast

On white

11.80
#20307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#20307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20307D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20307D#FFFFFF#000000##FFFFFF
##20307D1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20307d;
/* rgb */ color: rgb(32, 48, 125);
/* oklch */ color: oklch(34.8% 0.132 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a3',
    500: '#20307d',
    950: '#000000',
  },
}
SCSS
$custom: #20307d;
$custom-light: #6a68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20307d",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 229.677,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.13161,
    "h": 269.3
  },
  "luminance": 0.03902
}

Semantic roles & 50–950 ramp

primary
#20307D
secondary
#B09E49
accent
#C745E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20307D

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

Preview Lab → · Contrast checker → · Palette generator →

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