#202580#202580

#202580 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.150 H 272.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#202580
RGBrgb(32, 37, 128)
HSLhsl(237, 60%, 31%)
HSVhsv(237, 75%, 50%)
CMYKcmyk(75%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.78, 30.68, -51.70)
CIE-LCHlch(20.78, 60.12, 300.69°)
OKLaboklab(32.98% 0.0062 -0.1495)
OKLCHoklch(32.98% 0.15 272.4)
XYZxyz(5.1522, 3.1882, 20.7617)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202580 #807B20
analogous
#205580 #202580 #4B2080
triadic
#202580 #802025 #258020
tetradic
#202580 #802055 #807B20 #20804B
square
#202580 #802055 #807B20 #20804B
split-complementary
#202580 #804B20 #558020
monochromatic
#08091E #14174F #202580 #2C33B1 #4950D1

Accessibility & contrast

On white

12.82
#202580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202580
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202580#FFFFFF#000000##FFFFFF
##2025801.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202580;
/* rgb */ color: rgb(32, 37, 128);
/* oklch */ color: oklch(33.0% 0.150 272.4);
Tailwind
colors: {
  custom: {
    50: '#6b60a6',
    500: '#202580',
    950: '#000000',
  },
}
SCSS
$custom: #202580;
$custom-light: #6b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#202580",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 236.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32975,
    "c": 0.14964,
    "h": 272.4
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#202580
secondary
#B3AD49
accent
#DB45E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #202580

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

Preview Lab → · Contrast checker → · Palette generator →

#202580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva