#20259E#20259E

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

Color values

HEX#20259E
RGBrgb(32, 37, 158)
HSLhsl(238, 66%, 37%)
HSVhsv(238, 80%, 62%)
CMYKcmyk(79.7%, 76.6%, 0%, 38%)
CIE-LABlab(23.99, 41.38, -65.04)
CIE-LCHlch(23.99, 77.08, 302.46°)
OKLaboklab(36.23% 0.0016 -0.1884)
OKLCHoklch(36.23% 0.188 270.5)
XYZxyz(7.4267, 4.0980, 32.7407)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20259E #9E9920
analogous
#20649E #20259E #5A209E
triadic
#20259E #9E2025 #259E20
tetradic
#20259E #9E2064 #9E9920 #209E5A
square
#20259E #9E2064 #9E9920 #209E5A
split-complementary
#20259E #9E5A20 #649E20
monochromatic
#0B0D38 #16196B #20259E #2A31D1 #5B60DE

Accessibility & contrast

On white

11.54
#20259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#20259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20259E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20259E#FFFFFF#000000##FFFFFF
##20259E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20259e;
/* rgb */ color: rgb(32, 37, 158);
/* oklch */ color: oklch(36.2% 0.188 270.5);
Tailwind
colors: {
  custom: {
    50: '#7361bc',
    500: '#20259e',
    950: '#000000',
  },
}
SCSS
$custom: #20259e;
$custom-light: #7361bc;
$custom-dark: #000000;
JSON
{
  "hex": "#20259e",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 237.619,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36228,
    "c": 0.18837,
    "h": 270.5
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#20259E
secondary
#C2BE58
accent
#E23FE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20259E

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

Preview Lab → · Contrast checker → · Palette generator →

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