#25139A#25139A

#25139A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.197 H 274.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#25139A
RGBrgb(37, 19, 154)
HSLhsl(248, 78%, 34%)
HSVhsv(248, 88%, 60%)
CMYKcmyk(76%, 87.7%, 0%, 39.6%)
CIE-LABlab(20.79, 49.24, -67.88)
CIE-LCHlch(20.79, 83.86, 305.96°)
OKLaboklab(33.95% 0.0142 -0.1962)
OKLCHoklch(33.95% 0.197 274.1)
XYZxyz(6.8266, 3.1914, 30.8218)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25139A #889A13
analogous
#13459A #25139A #69139A
triadic
#25139A #9A2513 #139A25
tetradic
#25139A #9A1345 #889A13 #139A69
square
#25139A #9A1345 #889A13 #139A69
split-complementary
#25139A #9A6913 #459A13
monochromatic
#0B062D #180C64 #25139A #321AD0 #5640E7

Accessibility & contrast

On white

12.82
#25139A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#25139A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##25139A#FFFFFF#000000##FFFFFF
##25139A1.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)
#00389E
Deuteranopia (green-blind)
#002C98
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #25139a;
/* rgb */ color: rgb(37, 19, 154);
/* oklch */ color: oklch(33.9% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#7558b9',
    500: '#25139a',
    950: '#000000',
  },
}
SCSS
$custom: #25139a;
$custom-light: #7558b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25139a",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 154
  },
  "hsl": {
    "h": 248,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33946,
    "c": 0.19671,
    "h": 274.1
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#25139A
secondary
#B6C741
accent
#F533DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25139A

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

Preview Lab → · Contrast checker → · Palette generator →

#25139A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva