#20267B#20267B

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

Color values

HEX#20267B
RGBrgb(32, 38, 123)
HSLhsl(236, 59%, 30%)
HSVhsv(236, 74%, 48%)
CMYKcmyk(74%, 69.1%, 0%, 51.8%)
CIE-LABlab(20.53, 28.16, -48.94)
CIE-LCHlch(20.53, 56.46, 299.92°)
OKLaboklab(32.64% 0.0061 -0.1414)
OKLCHoklch(32.64% 0.142 272.5)
XYZxyz(4.8627, 3.1229, 19.0816)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20267B #7B7520
analogous
#20537B #20267B #47207B
triadic
#20267B #7B2026 #267B20
tetradic
#20267B #7B2053 #7B7520 #207B47
square
#20267B #7B2053 #7B7520 #207B47
split-complementary
#20267B #7B4720 #537B20
monochromatic
#07081A #13174A #20267B #2D35AC #464FCF

Accessibility & contrast

On white

12.93
#20267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20267B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20267B#FFFFFF#000000##FFFFFF
##20267B1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20267b;
/* rgb */ color: rgb(32, 38, 123);
/* oklch */ color: oklch(32.6% 0.142 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a60a2',
    500: '#20267b',
    950: '#000000',
  },
}
SCSS
$custom: #20267b;
$custom-light: #6a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#20267b",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 236.044,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3264,
    "c": 0.14158,
    "h": 272.5
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#20267B
secondary
#AEA749
accent
#D846E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #20267B

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

Preview Lab → · Contrast checker → · Palette generator →

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