#20259D#20259D

#20259D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.187 H 270.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#20259D
RGBrgb(32, 37, 157)
HSLhsl(238, 66%, 37%)
HSVhsv(238, 80%, 62%)
CMYKcmyk(79.6%, 76.4%, 0%, 38.4%)
CIE-LABlab(23.88, 41.03, -64.61)
CIE-LCHlch(23.88, 76.54, 302.42°)
OKLaboklab(36.12% 0.0017 -0.1871)
OKLCHoklch(36.12% 0.187 270.5)
XYZxyz(7.3410, 4.0637, 32.2892)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20259D #9D9820
analogous
#20649D #20259D #5A209D
triadic
#20259D #9D2025 #259D20
tetradic
#20259D #9D2064 #9D9820 #209D5A
square
#20259D #9D2064 #9D9820 #209D5A
split-complementary
#20259D #9D5A20 #649D20
monochromatic
#0B0D37 #16196A #20259D #2A31D0 #5A5FDD

Accessibility & contrast

On white

11.58
#20259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20259D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20259D#FFFFFF#000000##FFFFFF
##20259D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20259d;
/* rgb */ color: rgb(32, 37, 157);
/* oklch */ color: oklch(36.1% 0.187 270.5);
Tailwind
colors: {
  custom: {
    50: '#7361bb',
    500: '#20259d',
    950: '#000000',
  },
}
SCSS
$custom: #20259d;
$custom-light: #7361bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20259d",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 237.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36116,
    "c": 0.18713,
    "h": 270.5
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#20259D
secondary
#C1BD57
accent
#E23FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20259D

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

Preview Lab → · Contrast checker → · Palette generator →

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