#25149F#25149F

#25149F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.202 H 273.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#25149F
RGBrgb(37, 20, 159)
HSLhsl(247, 78%, 35%)
HSVhsv(247, 87%, 62%)
CMYKcmyk(76.7%, 87.4%, 0%, 37.6%)
CIE-LABlab(21.57, 50.32, -69.67)
CIE-LCHlch(21.57, 85.94, 305.84°)
OKLaboklab(34.65% 0.0124 -0.2014)
OKLCHoklch(34.65% 0.202 273.5)
XYZxyz(7.2690, 3.3961, 33.0666)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25149F #8E9F14
analogous
#14499F #25149F #6A149F
triadic
#25149F #9F2514 #149F25
tetradic
#25149F #9F1449 #8E9F14 #149F6A
square
#25149F #9F1449 #8E9F14 #149F6A
split-complementary
#25149F #9F6A14 #499F14
monochromatic
#0C0632 #180D69 #25149F #321BD5 #5A46E8

Accessibility & contrast

On white

12.50
#25149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#25149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25149F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25149F#FFFFFF#000000##FFFFFF
##25149F1.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)
#003AA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25149f;
/* rgb */ color: rgb(37, 20, 159);
/* oklch */ color: oklch(34.7% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#7758bd',
    500: '#25149f',
    950: '#000000',
  },
}
SCSS
$custom: #25149f;
$custom-light: #7758bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25149f",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 247.338,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.20177,
    "h": 273.5
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#25149F
secondary
#B9C846
accent
#F434DD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25149F

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

Preview Lab → · Contrast checker → · Palette generator →

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