#20509F#20509F

#20509F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.139 H 259.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#20509F
RGBrgb(32, 80, 159)
HSLhsl(217, 66%, 37%)
HSVhsv(217, 80%, 62%)
CMYKcmyk(79.9%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.10, 13.58, -47.50)
CIE-LCHlch(35.10, 49.40, 285.95°)
OKLaboklab(44.49% -0.0242 -0.1366)
OKLCHoklch(44.49% 0.139 259.9)
XYZxyz(9.7201, 8.5465, 33.9315)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20509F #9F6F20
analogous
#208F9F #20509F #30209F
triadic
#20509F #9F2050 #509F20
tetradic
#20509F #9F208F #9F6F20 #209F30
square
#20509F #9F208F #9F6F20 #209F30
split-complementary
#20509F #9F3020 #8F9F20
monochromatic
#0B1D39 #16366C #20509F #2A6AD2 #5B8DDE

Accessibility & contrast

On white

7.75
#20509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#20509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20509F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20509F#FFFFFF#000000##FFFFFF
##20509F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #20509f;
/* rgb */ color: rgb(32, 80, 159);
/* oklch */ color: oklch(44.5% 0.139 259.9);
Tailwind
colors: {
  custom: {
    50: '#7080bc',
    500: '#20509f',
    950: '#000000',
  },
}
SCSS
$custom: #20509f;
$custom-light: #7080bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20509f",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 217.323,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.13871,
    "h": 259.9
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#20509F
secondary
#C29A59
accent
#A93EE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #20509F

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

Preview Lab → · Contrast checker → · Palette generator →

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