#20258D#20258D

#20258D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.167 H 271.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#20258D
RGBrgb(32, 37, 141)
HSLhsl(237, 63%, 34%)
HSVhsv(237, 77%, 55%)
CMYKcmyk(77.3%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.13, 35.41, -57.63)
CIE-LCHlch(22.13, 67.64, 301.57°)
OKLaboklab(34.35% 0.0044 -0.1668)
OKLCHoklch(34.35% 0.167 271.5)
XYZxyz(6.0633, 3.5527, 25.5603)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20258D #8D8820
analogous
#205C8D #20258D #52208D
triadic
#20258D #8D2025 #258D20
tetradic
#20258D #8D205C #8D8820 #208D52
square
#20258D #8D205C #8D8820 #208D52
split-complementary
#20258D #8D5220 #5C8D20
monochromatic
#090B29 #15185B #20258D #2B32BF #5056D7

Accessibility & contrast

On white

12.28
#20258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#20258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20258D
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20258D#FFFFFF#000000##FFFFFF
##20258D1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #20258d;
/* rgb */ color: rgb(32, 37, 141);
/* oklch */ color: oklch(34.4% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#6f60af',
    500: '#20258d',
    950: '#000000',
  },
}
SCSS
$custom: #20258d;
$custom-light: #6f60af;
$custom-dark: #000000;
JSON
{
  "hex": "#20258d",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 237.248,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34354,
    "c": 0.16687,
    "h": 271.5
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#20258D
secondary
#BAB64E
accent
#DF42E6
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #20258D

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

Preview Lab → · Contrast checker → · Palette generator →

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