#20307A#20307A

#20307A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.127 H 269.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#20307A
RGBrgb(32, 48, 122)
HSLhsl(229, 58%, 30%)
HSVhsv(229, 74%, 48%)
CMYKcmyk(73.8%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.09, 20.90, -44.13)
CIE-LCHlch(23.09, 48.83, 295.35°)
OKLaboklab(34.5% -0.0016 -0.1272)
OKLCHoklch(34.5% 0.127 269.3)
XYZxyz(5.1643, 3.8256, 18.8748)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20307A #7A6A20
analogous
#205D7A #20307A #3D207A
triadic
#20307A #7A2030 #307A20
tetradic
#20307A #7A205D #7A6A20 #207A3D
square
#20307A #7A205D #7A6A20 #207A3D
split-complementary
#20307A #7A3D20 #5D7A20
monochromatic
#070A19 #131D4A #20307A #2D43AA #465ECE

Accessibility & contrast

On white

11.90
#20307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20307A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20307A#FFFFFF#000000##FFFFFF
##20307A1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20307a;
/* rgb */ color: rgb(32, 48, 122);
/* oklch */ color: oklch(34.5% 0.127 269.3);
Tailwind
colors: {
  custom: {
    50: '#6968a1',
    500: '#20307a',
    950: '#000000',
  },
}
SCSS
$custom: #20307a;
$custom-light: #6968a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20307a",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 229.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.12725,
    "h": 269.3
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#20307A
secondary
#AD9B49
accent
#C646E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20307A

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

Preview Lab → · Contrast checker → · Palette generator →

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