#20266A#20266A

#20266A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.0% C 0.117 H 273.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#20266A
RGBrgb(32, 38, 106)
HSLhsl(235, 54%, 27%)
HSVhsv(235, 70%, 42%)
CMYKcmyk(69.8%, 64.2%, 0%, 58.4%)
CIE-LABlab(18.94, 21.68, -40.59)
CIE-LCHlch(18.94, 46.02, 298.11°)
OKLaboklab(30.99% 0.0072 -0.117)
OKLCHoklch(30.99% 0.117 273.5)
XYZxyz(3.8894, 2.7336, 13.9555)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20266A #6A6420
analogous
#204B6A #20266A #3F206A
triadic
#20266A #6A2026 #266A20
tetradic
#20266A #6A204B #6A6420 #206A3F
square
#20266A #6A204B #6A6420 #206A3F
split-complementary
#20266A #6A3F20 #4B6A20
monochromatic
#070818 #12153B #20266A #2E3799 #3F4AC5

Accessibility & contrast

On white

13.58
#20266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#20266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20266A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20266A#FFFFFF#000000##FFFFFF
##20266A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20266a;
/* rgb */ color: rgb(32, 38, 106);
/* oklch */ color: oklch(31.0% 0.117 273.5);
Tailwind
colors: {
  custom: {
    50: '#666095',
    500: '#20266a',
    950: '#000000',
  },
}
SCSS
$custom: #20266a;
$custom-light: #666095;
$custom-dark: #000000;
JSON
{
  "hex": "#20266a",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 235.135,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.11719,
    "h": 273.5
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#20266A
secondary
#9E9748
accent
#D14BDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #20266A

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

Preview Lab → · Contrast checker → · Palette generator →

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