#20279B#20279B

#20279B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.183 H 270.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#20279B
RGBrgb(32, 39, 155)
HSLhsl(237, 66%, 37%)
HSVhsv(237, 79%, 61%)
CMYKcmyk(79.4%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.08, 39.16, -63.06)
CIE-LCHlch(24.08, 74.23, 301.84°)
OKLaboklab(36.19% 0.0013 -0.1826)
OKLCHoklch(36.19% 0.183 270.4)
XYZxyz(7.2356, 4.1239, 31.4186)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20279B #9B9420
analogous
#20659B #20279B #57209B
triadic
#20279B #9B2027 #279B20
tetradic
#20279B #9B2065 #9B9420 #209B57
square
#20279B #9B2065 #9B9420 #209B57
split-complementary
#20279B #9B5720 #659B20
monochromatic
#0B0D36 #161A68 #20279B #2A34CE #5960DD

Accessibility & contrast

On white

11.51
#20279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20279B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20279B#FFFFFF#000000##FFFFFF
##20279B1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20279b;
/* rgb */ color: rgb(32, 39, 155);
/* oklch */ color: oklch(36.2% 0.183 270.4);
Tailwind
colors: {
  custom: {
    50: '#7262ba',
    500: '#20279b',
    950: '#000000',
  },
}
SCSS
$custom: #20279b;
$custom-light: #7262ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20279b",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 236.585,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3619,
    "c": 0.18264,
    "h": 270.4
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20279B

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

Preview Lab → · Contrast checker → · Palette generator →

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