#20259C#20259C

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

Color values

HEX#20259C
RGBrgb(32, 37, 156)
HSLhsl(238, 66%, 37%)
HSVhsv(238, 79%, 61%)
CMYKcmyk(79.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(23.77, 40.69, -64.18)
CIE-LCHlch(23.77, 75.99, 302.37°)
OKLaboklab(36% 0.0019 -0.1859)
OKLCHoklch(36% 0.186 270.6)
XYZxyz(7.2559, 4.0297, 31.8414)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20259C #9C9720
analogous
#20639C #20259C #59209C
triadic
#20259C #9C2025 #259C20
tetradic
#20259C #9C2063 #9C9720 #209C59
square
#20259C #9C2063 #9C9720 #209C59
split-complementary
#20259C #9C5920 #639C20
monochromatic
#0B0D36 #161969 #20259C #2A31CF #595FDD

Accessibility & contrast

On white

11.63
#20259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20259C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20259C#FFFFFF#000000##FFFFFF
##20259C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20259c;
/* rgb */ color: rgb(32, 37, 156);
/* oklch */ color: oklch(36.0% 0.186 270.6);
Tailwind
colors: {
  custom: {
    50: '#7361ba',
    500: '#20259c',
    950: '#000000',
  },
}
SCSS
$custom: #20259c;
$custom-light: #7361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20259c",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 237.581,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.18589,
    "h": 270.6
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#20259C
secondary
#C1BD57
accent
#E23FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20259C

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

Preview Lab → · Contrast checker → · Palette generator →

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