#20459F#20459F

#20459F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.153 H 264.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#20459F
RGBrgb(32, 69, 159)
HSLhsl(223, 66%, 37%)
HSVhsv(223, 80%, 62%)
CMYKcmyk(79.9%, 56.6%, 0%, 37.6%)
CIE-LABlab(31.96, 21.02, -52.58)
CIE-LCHlch(31.96, 56.63, 291.79°)
OKLaboklab(42.1% -0.0159 -0.1518)
OKLCHoklch(42.1% 0.153 264)
XYZxyz(8.9796, 7.0655, 33.6847)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20459F #9F7A20
analogous
#20849F #20459F #3B209F
triadic
#20459F #9F2045 #459F20
tetradic
#20459F #9F2084 #9F7A20 #209F3B
square
#20459F #9F2084 #9F7A20 #209F3B
split-complementary
#20459F #9F3B20 #849F20
monochromatic
#0B1939 #162F6C #20459F #2A5BD2 #5B81DE

Accessibility & contrast

On white

8.70
#20459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#20459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20459F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20459F#FFFFFF#000000##FFFFFF
##20459F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20459f;
/* rgb */ color: rgb(32, 69, 159);
/* oklch */ color: oklch(42.1% 0.153 264.0);
Tailwind
colors: {
  custom: {
    50: '#7178bc',
    500: '#20459f',
    950: '#000000',
  },
}
SCSS
$custom: #20459f;
$custom-light: #7178bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20459f",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 222.52,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.15259,
    "h": 264
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#20459F
secondary
#C2A359
accent
#B83EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20459F

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

Preview Lab → · Contrast checker → · Palette generator →

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