#20459C#20459C

#20459C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.148 H 263.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#20459C
RGBrgb(32, 69, 156)
HSLhsl(222, 66%, 37%)
HSVhsv(222, 79%, 61%)
CMYKcmyk(79.5%, 55.8%, 0%, 38.8%)
CIE-LABlab(31.72, 19.83, -51.15)
CIE-LCHlch(31.72, 54.86, 291.19°)
OKLaboklab(41.85% -0.0161 -0.1475)
OKLCHoklch(41.85% 0.148 263.8)
XYZxyz(8.7224, 6.9626, 32.3303)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20459C #9C7720
analogous
#20839C #20459C #39209C
triadic
#20459C #9C2045 #459C20
tetradic
#20459C #9C2083 #9C7720 #209C39
square
#20459C #9C2083 #9C7720 #209C39
split-complementary
#20459C #9C3920 #839C20
monochromatic
#0B1836 #162F69 #20459C #2A5BCF #5981DD

Accessibility & contrast

On white

8.78
#20459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#20459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20459C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20459C#FFFFFF#000000##FFFFFF
##20459C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20459c;
/* rgb */ color: rgb(32, 69, 156);
/* oklch */ color: oklch(41.8% 0.148 263.8);
Tailwind
colors: {
  custom: {
    50: '#7078ba',
    500: '#20459c',
    950: '#000000',
  },
}
SCSS
$custom: #20459c;
$custom-light: #7078ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20459c",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 222.097,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.14842,
    "h": 263.8
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#20459C
secondary
#C1A157
accent
#B63FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #20459C

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

Preview Lab → · Contrast checker → · Palette generator →

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