#20259B#20259B

#20259B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.185 H 270.6°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#20259B
RGBrgb(32, 37, 155)
HSLhsl(238, 66%, 37%)
HSVhsv(238, 79%, 61%)
CMYKcmyk(79.4%, 76.1%, 0%, 39.2%)
CIE-LABlab(23.66, 40.34, -63.76)
CIE-LCHlch(23.66, 75.45, 302.32°)
OKLaboklab(35.89% 0.0021 -0.1846)
OKLCHoklch(35.89% 0.185 270.6)
XYZxyz(7.1716, 3.9960, 31.3973)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20259B #9B9620
analogous
#20639B #20259B #59209B
triadic
#20259B #9B2025 #259B20
tetradic
#20259B #9B2063 #9B9620 #209B59
square
#20259B #9B2063 #9B9620 #209B59
split-complementary
#20259B #9B5920 #639B20
monochromatic
#0B0D36 #161968 #20259B #2A31CE #595EDD

Accessibility & contrast

On white

11.67
#20259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#20259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20259B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20259B#FFFFFF#000000##FFFFFF
##20259B1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20259b;
/* rgb */ color: rgb(32, 37, 155);
/* oklch */ color: oklch(35.9% 0.185 270.6);
Tailwind
colors: {
  custom: {
    50: '#7261ba',
    500: '#20259b',
    950: '#000000',
  },
}
SCSS
$custom: #20259b;
$custom-light: #7261ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20259b",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 237.561,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.18464,
    "h": 270.6
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#20259B
secondary
#C1BC56
accent
#E23FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20259B

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

Preview Lab → · Contrast checker → · Palette generator →

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