#20266D#20266D

#20266D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.122 H 273.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#20266D
RGBrgb(32, 38, 109)
HSLhsl(235, 55%, 28%)
HSVhsv(235, 71%, 43%)
CMYKcmyk(70.6%, 65.1%, 0%, 57.3%)
CIE-LABlab(19.21, 22.84, -42.10)
CIE-LCHlch(19.21, 47.90, 298.48°)
OKLaboklab(31.27% 0.0071 -0.1214)
OKLCHoklch(31.27% 0.122 273.3)
XYZxyz(4.0482, 2.7971, 14.7916)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20266D #6D6720
analogous
#204C6D #20266D #41206D
triadic
#20266D #6D2026 #266D20
tetradic
#20266D #6D204C #6D6720 #206D41
square
#20266D #6D204C #6D6720 #206D41
split-complementary
#20266D #6D4120 #4C6D20
monochromatic
#070818 #12163E #20266D #2E369C #404BC7

Accessibility & contrast

On white

13.47
#20266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#20266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20266D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20266D#FFFFFF#000000##FFFFFF
##20266D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #20266d;
/* rgb */ color: rgb(32, 38, 109);
/* oklch */ color: oklch(31.3% 0.122 273.3);
Tailwind
colors: {
  custom: {
    50: '#666098',
    500: '#20266d',
    950: '#000000',
  },
}
SCSS
$custom: #20266d;
$custom-light: #666098;
$custom-dark: #000000;
JSON
{
  "hex": "#20266d",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 235.325,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3127,
    "c": 0.12162,
    "h": 273.3
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#20266D
secondary
#A19A48
accent
#D24ADE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #20266D

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

Preview Lab → · Contrast checker → · Palette generator →

#20266D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva