#20279C#20279C

#20279C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.184 H 270.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#20279C
RGBrgb(32, 39, 156)
HSLhsl(237, 66%, 37%)
HSVhsv(237, 79%, 61%)
CMYKcmyk(79.5%, 75%, 0%, 38.8%)
CIE-LABlab(24.19, 39.51, -63.50)
CIE-LCHlch(24.19, 74.79, 301.89°)
OKLaboklab(36.3% 0.0011 -0.1839)
OKLCHoklch(36.3% 0.184 270.4)
XYZxyz(7.3199, 4.1576, 31.8628)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20279C #9C9520
analogous
#20659C #20279C #57209C
triadic
#20279C #9C2027 #279C20
tetradic
#20279C #9C2065 #9C9520 #209C57
square
#20279C #9C2065 #9C9520 #209C57
split-complementary
#20279C #9C5720 #659C20
monochromatic
#0B0E36 #161A69 #20279C #2A34CF #5961DD

Accessibility & contrast

On white

11.47
#20279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#20279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20279C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20279C#FFFFFF#000000##FFFFFF
##20279C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20279c;
/* rgb */ color: rgb(32, 39, 156);
/* oklch */ color: oklch(36.3% 0.184 270.4);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#20279c',
    950: '#000000',
  },
}
SCSS
$custom: #20279c;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20279c",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 236.613,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.363,
    "c": 0.1839,
    "h": 270.4
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#20279C
secondary
#C1BB57
accent
#DF3FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20279C

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

Preview Lab → · Contrast checker → · Palette generator →

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