#20269B#20269B

#20269B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.184 H 270.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#20269B
RGBrgb(32, 38, 155)
HSLhsl(237, 66%, 37%)
HSVhsv(237, 79%, 61%)
CMYKcmyk(79.4%, 75.5%, 0%, 39.2%)
CIE-LABlab(23.87, 39.76, -63.41)
CIE-LCHlch(23.87, 74.84, 302.09°)
OKLaboklab(36.04% 0.0017 -0.1836)
OKLCHoklch(36.04% 0.184 270.5)
XYZxyz(7.2032, 4.0591, 31.4078)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20269B #9B9520
analogous
#20649B #20269B #58209B
triadic
#20269B #9B2026 #269B20
tetradic
#20269B #9B2064 #9B9520 #209B58
square
#20269B #9B2064 #9B9520 #209B58
split-complementary
#20269B #9B5820 #649B20
monochromatic
#0B0D36 #161A68 #20269B #2A32CE #595FDD

Accessibility & contrast

On white

11.59
#20269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20269B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20269B#FFFFFF#000000##FFFFFF
##20269B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20269b;
/* rgb */ color: rgb(32, 38, 155);
/* oklch */ color: oklch(36.0% 0.184 270.5);
Tailwind
colors: {
  custom: {
    50: '#7262ba',
    500: '#20269b',
    950: '#000000',
  },
}
SCSS
$custom: #20269b;
$custom-light: #7262ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20269b",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 237.073,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3604,
    "c": 0.18366,
    "h": 270.5
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20269B

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

Preview Lab → · Contrast checker → · Palette generator →

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