#20259F#20259F

#20259F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.190 H 270.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#20259F
RGBrgb(32, 37, 159)
HSLhsl(238, 66%, 37%)
HSVhsv(238, 80%, 62%)
CMYKcmyk(79.9%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.11, 41.72, -65.46)
CIE-LCHlch(24.11, 77.62, 302.51°)
OKLaboklab(36.34% 0.0014 -0.1896)
OKLCHoklch(36.34% 0.19 270.4)
XYZxyz(7.5131, 4.1326, 33.1959)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20259F #9F9A20
analogous
#20649F #20259F #5B209F
triadic
#20259F #9F2025 #259F20
tetradic
#20259F #9F2064 #9F9A20 #209F5B
square
#20259F #9F2064 #9F9A20 #209F5B
split-complementary
#20259F #9F5B20 #649F20
monochromatic
#0B0D39 #16196C #20259F #2A31D2 #5B60DE

Accessibility & contrast

On white

11.50
#20259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#20259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20259F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20259F#FFFFFF#000000##FFFFFF
##20259F1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20259f;
/* rgb */ color: rgb(32, 37, 159);
/* oklch */ color: oklch(36.3% 0.190 270.4);
Tailwind
colors: {
  custom: {
    50: '#7361bd',
    500: '#20259f',
    950: '#000000',
  },
}
SCSS
$custom: #20259f;
$custom-light: #7361bd;
$custom-dark: #000000;
JSON
{
  "hex": "#20259f",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 237.638,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.1896,
    "h": 270.4
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#20259F
secondary
#C2BE59
accent
#E33EE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20259F

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

Preview Lab → · Contrast checker → · Palette generator →

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