#20267A#20267A

#20267A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.140 H 272.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#20267A
RGBrgb(32, 38, 122)
HSLhsl(236, 58%, 30%)
HSVhsv(236, 74%, 48%)
CMYKcmyk(73.8%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.43, 27.79, -48.46)
CIE-LCHlch(20.43, 55.86, 299.83°)
OKLaboklab(32.54% 0.0062 -0.14)
OKLCHoklch(32.54% 0.14 272.5)
XYZxyz(4.8004, 3.0980, 18.7536)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20267A #7A7420
analogous
#20537A #20267A #47207A
triadic
#20267A #7A2026 #267A20
tetradic
#20267A #7A2053 #7A7420 #207A47
square
#20267A #7A2053 #7A7420 #207A47
split-complementary
#20267A #7A4720 #537A20
monochromatic
#070819 #13174A #20267A #2D35AA #464FCE

Accessibility & contrast

On white

12.97
#20267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#20267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20267A
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20267A#FFFFFF#000000##FFFFFF
##20267A1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20267a;
/* rgb */ color: rgb(32, 38, 122);
/* oklch */ color: oklch(32.5% 0.140 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a60a1',
    500: '#20267a',
    950: '#000000',
  },
}
SCSS
$custom: #20267a;
$custom-light: #6a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#20267a",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 236,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3254,
    "c": 0.14019,
    "h": 272.5
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#20267A
secondary
#ADA649
accent
#D746E2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #20267A

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

Preview Lab → · Contrast checker → · Palette generator →

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