#20258A#20258A

#20258A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.163 H 271.7°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#20258A
RGBrgb(32, 37, 138)
HSLhsl(237, 62%, 33%)
HSVhsv(237, 77%, 54%)
CMYKcmyk(76.8%, 73.2%, 0%, 45.9%)
CIE-LABlab(21.82, 34.34, -56.28)
CIE-LCHlch(21.82, 65.93, 301.39°)
OKLaboklab(34.03% 0.0048 -0.1629)
OKLCHoklch(34.03% 0.163 271.7)
XYZxyz(5.8431, 3.4646, 24.4006)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20258A #8A8520
analogous
#205A8A #20258A #50208A
triadic
#20258A #8A2025 #258A20
tetradic
#20258A #8A205A #8A8520 #208A50
square
#20258A #8A205A #8A8520 #208A50
split-complementary
#20258A #8A5020 #5A8A20
monochromatic
#090A27 #141858 #20258A #2C32BC #4E55D6

Accessibility & contrast

On white

12.40
#20258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#20258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20258A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20258A#FFFFFF#000000##FFFFFF
##20258A1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20258a;
/* rgb */ color: rgb(32, 37, 138);
/* oklch */ color: oklch(34.0% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#6e60ad',
    500: '#20258a',
    950: '#000000',
  },
}
SCSS
$custom: #20258a;
$custom-light: #6e60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#20258a",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 237.17,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34031,
    "c": 0.16296,
    "h": 271.7
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#20258A
secondary
#B9B44D
accent
#DE42E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #20258A

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

Preview Lab → · Contrast checker → · Palette generator →

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