#20279A#20279A

#20279A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.181 H 270.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#20279A
RGBrgb(32, 39, 154)
HSLhsl(237, 66%, 36%)
HSVhsv(237, 79%, 60%)
CMYKcmyk(79.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(23.97, 38.81, -62.63)
CIE-LCHlch(23.97, 73.68, 301.79°)
OKLaboklab(36.08% 0.0014 -0.1814)
OKLCHoklch(36.08% 0.181 270.5)
XYZxyz(7.1519, 4.0904, 30.9782)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20279A #9A9320
analogous
#20649A #20279A #56209A
triadic
#20279A #9A2027 #279A20
tetradic
#20279A #9A2064 #9A9320 #209A56
square
#20279A #9A2064 #9A9320 #209A56
split-complementary
#20279A #9A5620 #649A20
monochromatic
#0B0D35 #151A67 #20279A #2B34CD #5860DC

Accessibility & contrast

On white

11.55
#20279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#20279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20279A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20279A#FFFFFF#000000##FFFFFF
##20279A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20279a;
/* rgb */ color: rgb(32, 39, 154);
/* oklch */ color: oklch(36.1% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#7262b9',
    500: '#20279a',
    950: '#000000',
  },
}
SCSS
$custom: #20279a;
$custom-light: #7262b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20279a",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 236.557,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.18139,
    "h": 270.5
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20279A

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

Preview Lab → · Contrast checker → · Palette generator →

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