#20269C#20269C

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

Color values

HEX#20269C
RGBrgb(32, 38, 156)
HSLhsl(237, 66%, 37%)
HSVhsv(237, 79%, 61%)
CMYKcmyk(79.5%, 75.6%, 0%, 38.8%)
CIE-LABlab(23.98, 40.10, -63.84)
CIE-LCHlch(23.98, 75.39, 302.14°)
OKLaboklab(36.15% 0.0015 -0.1849)
OKLCHoklch(36.15% 0.185 270.5)
XYZxyz(7.2875, 4.0928, 31.8520)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20269C #9C9620
analogous
#20649C #20269C #58209C
triadic
#20269C #9C2026 #269C20
tetradic
#20269C #9C2064 #9C9620 #209C58
square
#20269C #9C2064 #9C9620 #209C58
split-complementary
#20269C #9C5820 #649C20
monochromatic
#0B0D36 #161A69 #20269C #2A32CF #5960DD

Accessibility & contrast

On white

11.55
#20269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#20269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20269C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20269C#FFFFFF#000000##FFFFFF
##20269C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20269c;
/* rgb */ color: rgb(32, 38, 156);
/* oklch */ color: oklch(36.2% 0.185 270.5);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#20269c',
    950: '#000000',
  },
}
SCSS
$custom: #20269c;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20269c",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 237.097,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.18491,
    "h": 270.5
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#20269C
secondary
#C1BC57
accent
#E13FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20269C

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

Preview Lab → · Contrast checker → · Palette generator →

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