#20258B#20258B

#20258B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.164 H 271.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#20258B
RGBrgb(32, 37, 139)
HSLhsl(237, 63%, 34%)
HSVhsv(237, 77%, 55%)
CMYKcmyk(77%, 73.4%, 0%, 45.5%)
CIE-LABlab(21.92, 34.70, -56.73)
CIE-LCHlch(21.92, 66.50, 301.45°)
OKLaboklab(34.14% 0.0047 -0.1642)
OKLCHoklch(34.14% 0.164 271.6)
XYZxyz(5.9159, 3.4937, 24.7837)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20258B #8B8620
analogous
#205A8B #20258B #50208B
triadic
#20258B #8B2025 #258B20
tetradic
#20258B #8B205A #8B8620 #208B50
square
#20258B #8B205A #8B8620 #208B50
split-complementary
#20258B #8B5020 #5A8B20
monochromatic
#090B28 #151859 #20258B #2B32BD #4F55D6

Accessibility & contrast

On white

12.36
#20258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#20258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20258B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20258B#FFFFFF#000000##FFFFFF
##20258B1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20258b;
/* rgb */ color: rgb(32, 37, 139);
/* oklch */ color: oklch(34.1% 0.164 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e60ae',
    500: '#20258b',
    950: '#000000',
  },
}
SCSS
$custom: #20258b;
$custom-light: #6e60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#20258b",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 237.196,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.16427,
    "h": 271.6
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#20258B
secondary
#BAB44D
accent
#DE42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #20258B

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

Preview Lab → · Contrast checker → · Palette generator →

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