#20258E#20258E

#20258E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.168 H 271.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#20258E
RGBrgb(32, 37, 142)
HSLhsl(237, 63%, 34%)
HSVhsv(237, 77%, 56%)
CMYKcmyk(77.5%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.24, 35.77, -58.08)
CIE-LCHlch(22.24, 68.21, 301.63°)
OKLaboklab(34.46% 0.0042 -0.1681)
OKLCHoklch(34.46% 0.168 271.4)
XYZxyz(6.1381, 3.5825, 25.9539)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20258E #8E8920
analogous
#205C8E #20258E #52208E
triadic
#20258E #8E2025 #258E20
tetradic
#20258E #8E205C #8E8920 #208E52
square
#20258E #8E205C #8E8920 #208E52
split-complementary
#20258E #8E5220 #5C8E20
monochromatic
#090B2A #15185C #20258E #2B32C0 #5157D8

Accessibility & contrast

On white

12.23
#20258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#20258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20258E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20258E#FFFFFF#000000##FFFFFF
##20258E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20258e;
/* rgb */ color: rgb(32, 37, 142);
/* oklch */ color: oklch(34.5% 0.168 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f60b0',
    500: '#20258e',
    950: '#000000',
  },
}
SCSS
$custom: #20258e;
$custom-light: #6f60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20258e",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 237.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.16816,
    "h": 271.4
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#20258E
secondary
#BBB64F
accent
#DF42E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #20258E

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

Preview Lab → · Contrast checker → · Palette generator →

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