#20309F#20309F

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

Color values

HEX#20309F
RGBrgb(32, 48, 159)
HSLhsl(232, 66%, 37%)
HSVhsv(232, 80%, 62%)
CMYKcmyk(79.9%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.52, 35.03, -61.48)
CIE-LCHlch(26.52, 70.76, 299.67°)
OKLaboklab(38.07% -0.0032 -0.1781)
OKLCHoklch(38.07% 0.178 269)
XYZxyz(7.9085, 4.9233, 33.3276)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20309F #9F8F20
analogous
#206F9F #20309F #50209F
triadic
#20309F #9F2030 #309F20
tetradic
#20309F #9F206F #9F8F20 #209F50
square
#20309F #9F206F #9F8F20 #209F50
split-complementary
#20309F #9F5020 #6F9F20
monochromatic
#0B1139 #16216C #20309F #2A3FD2 #5B6CDE

Accessibility & contrast

On white

10.58
#20309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#20309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20309F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20309F#FFFFFF#000000##FFFFFF
##20309F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20309f;
/* rgb */ color: rgb(32, 48, 159);
/* oklch */ color: oklch(38.1% 0.178 269.0);
Tailwind
colors: {
  custom: {
    50: '#7268bc',
    500: '#20309f',
    950: '#000000',
  },
}
SCSS
$custom: #20309f;
$custom-light: #7268bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20309f",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 232.441,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.17809,
    "h": 269
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#20309F
secondary
#C2B559
accent
#D43EE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #20309F

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

Preview Lab → · Contrast checker → · Palette generator →

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