#20279F#20279F

#20279F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.188 H 270.2°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#20279F
RGBrgb(32, 39, 159)
HSLhsl(237, 66%, 37%)
HSVhsv(237, 80%, 62%)
CMYKcmyk(79.9%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.51, 40.56, -64.78)
CIE-LCHlch(24.51, 76.43, 302.05°)
OKLaboklab(36.63% 0.0007 -0.1876)
OKLCHoklch(36.63% 0.188 270.2)
XYZxyz(7.5771, 4.2605, 33.2172)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20279F #9F9820
analogous
#20669F #20279F #59209F
triadic
#20279F #9F2027 #279F20
tetradic
#20279F #9F2066 #9F9820 #209F59
square
#20279F #9F2066 #9F9820 #209F59
split-complementary
#20279F #9F5920 #669F20
monochromatic
#0B0E39 #161B6C #20279F #2A33D2 #5B63DE

Accessibility & contrast

On white

11.34
#20279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#20279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20279F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20279F#FFFFFF#000000##FFFFFF
##20279F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20279f;
/* rgb */ color: rgb(32, 39, 159);
/* oklch */ color: oklch(36.6% 0.188 270.2);
Tailwind
colors: {
  custom: {
    50: '#7362bd',
    500: '#20279f',
    950: '#000000',
  },
}
SCSS
$custom: #20279f;
$custom-light: #7362bd;
$custom-dark: #000000;
JSON
{
  "hex": "#20279f",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 236.693,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36631,
    "c": 0.18764,
    "h": 270.2
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#20279F
secondary
#C2BC59
accent
#E03EE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20279F

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

Preview Lab → · Contrast checker → · Palette generator →

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