#20258F#20258F

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

Color values

HEX#20258F
RGBrgb(32, 37, 143)
HSLhsl(237, 63%, 34%)
HSVhsv(237, 78%, 56%)
CMYKcmyk(77.6%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.35, 36.13, -58.52)
CIE-LCHlch(22.35, 68.77, 301.69°)
OKLaboklab(34.57% 0.0041 -0.1694)
OKLCHoklch(34.57% 0.169 271.4)
XYZxyz(6.2135, 3.6127, 26.3511)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20258F #8F8A20
analogous
#205D8F #20258F #53208F
triadic
#20258F #8F2025 #258F20
tetradic
#20258F #8F205D #8F8A20 #208F53
square
#20258F #8F205D #8F8A20 #208F53
split-complementary
#20258F #8F5320 #5D8F20
monochromatic
#0A0B2B #15185D #20258F #2B32C1 #5157D8

Accessibility & contrast

On white

12.19
#20258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20258F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20258F#FFFFFF#000000##FFFFFF
##20258F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20258f;
/* rgb */ color: rgb(32, 37, 143);
/* oklch */ color: oklch(34.6% 0.169 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f60b1',
    500: '#20258f',
    950: '#000000',
  },
}
SCSS
$custom: #20258f;
$custom-light: #6f60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#20258f",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 237.297,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.16946,
    "h": 271.4
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#20258F
secondary
#BBB74F
accent
#DF41E6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #20258F

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

Preview Lab → · Contrast checker → · Palette generator →

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