#25148C#25148C

#25148C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.180 H 275.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#25148C
RGBrgb(37, 20, 140)
HSLhsl(249, 75%, 31%)
HSVhsv(249, 86%, 55%)
CMYKcmyk(73.6%, 85.7%, 0%, 45.1%)
CIE-LABlab(19.17, 44.64, -61.90)
CIE-LCHlch(19.17, 76.32, 305.80°)
OKLaboklab(32.33% 0.0183 -0.1789)
OKLCHoklch(32.33% 0.18 275.8)
XYZxyz(5.7452, 2.7865, 25.0409)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25148C #7B8C14
analogous
#143F8C #25148C #61148C
triadic
#25148C #8C2514 #148C25
tetradic
#25148C #8C143F #7B8C14 #148C61
square
#25148C #8C143F #7B8C14 #148C61
split-complementary
#25148C #8C6114 #3F8C14
monochromatic
#090521 #170C56 #25148C #331CC2 #5038E3

Accessibility & contrast

On white

13.48
#25148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#25148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25148C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25148C#FFFFFF#000000##FFFFFF
##25148C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25148c;
/* rgb */ color: rgb(37, 20, 140);
/* oklch */ color: oklch(32.3% 0.180 275.8);
Tailwind
colors: {
  custom: {
    50: '#7257af',
    500: '#25148c',
    950: '#000000',
  },
}
SCSS
$custom: #25148c;
$custom-light: #7257af;
$custom-dark: #000000;
JSON
{
  "hex": "#25148c",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 248.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.17983,
    "h": 275.8
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#25148C
secondary
#ADC03C
accent
#F236D7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #25148C

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

Preview Lab → · Contrast checker → · Palette generator →

#25148C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva