#25159E#25159E

#25159E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.6% C 0.200 H 273.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#25159E
RGBrgb(37, 21, 158)
HSLhsl(247, 77%, 35%)
HSVhsv(247, 87%, 62%)
CMYKcmyk(76.6%, 86.7%, 0%, 38%)
CIE-LABlab(21.57, 49.63, -69.05)
CIE-LCHlch(21.57, 85.03, 305.71°)
OKLaboklab(34.62% 0.0125 -0.1996)
OKLCHoklch(34.62% 0.2 273.6)
XYZxyz(7.2006, 3.3975, 32.6174)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25159E #8E9E15
analogous
#154A9E #25159E #69159E
triadic
#25159E #9E2515 #159E25
tetradic
#25159E #9E154A #8E9E15 #159E69
square
#25159E #9E154A #8E9E15 #159E69
split-complementary
#25159E #9E6915 #4A9E15
monochromatic
#0C0732 #180E68 #25159E #321CD4 #5A47E7

Accessibility & contrast

On white

12.50
#25159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#25159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25159E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25159E#FFFFFF#000000##FFFFFF
##25159E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25159e;
/* rgb */ color: rgb(37, 21, 158);
/* oklch */ color: oklch(34.6% 0.200 273.6);
Tailwind
colors: {
  custom: {
    50: '#7659bc',
    500: '#25159e',
    950: '#000000',
  },
}
SCSS
$custom: #25159e;
$custom-light: #7659bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25159e",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 247.007,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34621,
    "c": 0.20001,
    "h": 273.6
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#25159E
secondary
#B9C747
accent
#F335DD
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25159E

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

Preview Lab → · Contrast checker → · Palette generator →

#25159E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva