#2500A8#2500A8

#2500A8 is a dark, highly saturated violet. Relative luminance 0.032; OKLCH L 34.5% C 0.220 H 273.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#2500A8
RGBrgb(37, 0, 168)
HSLhsl(253, 100%, 33%)
HSVhsv(253, 100%, 66%)
CMYKcmyk(78%, 100%, 0%, 34.1%)
CIE-LABlab(20.90, 58.48, -76.25)
CIE-LCHlch(20.90, 96.09, 307.49°)
OKLaboklab(34.55% 0.0122 -0.22)
OKLCHoklch(34.55% 0.22 273.2)
XYZxyz(7.8285, 3.2196, 37.2471)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2500A8 #83A800
analogous
#002FA8 #2500A8 #7900A8
triadic
#2500A8 #A82500 #00A825
tetradic
#2500A8 #A8002F #83A800 #00A879
square
#2500A8 #A8002F #83A800 #00A879
split-complementary
#2500A8 #A87900 #2FA800
monochromatic
#0A002E #18006B #2500A8 #3200E5 #5423FF

Accessibility & contrast

On white

12.77
#2500A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2500A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2500A8
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2500A8#FFFFFF#000000##FFFFFF
##2500A81.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039AC
Deuteranopia (green-blind)
#002BA6
Tritanopia (blue-blind)
#004361
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2500a8;
/* rgb */ color: rgb(37, 0, 168);
/* oklch */ color: oklch(34.5% 0.220 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a53c4',
    500: '#2500a8',
    950: '#000000',
  },
}
SCSS
$custom: #2500a8;
$custom-light: #7a53c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2500a8",
  "rgb": {
    "r": 37,
    "g": 0,
    "b": 168
  },
  "hsl": {
    "h": 253.214,
    "s": 100,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34548,
    "c": 0.22036,
    "h": 273.2
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#2500A8
secondary
#B3D92A
accent
#FF29D0
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0313
muted
#7C7882

Preview Lab

Preview with #2500A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2500A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva