#25148E#25148E

#25148E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.6% C 0.182 H 275.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#25148E
RGBrgb(37, 20, 142)
HSLhsl(248, 75%, 32%)
HSVhsv(248, 86%, 56%)
CMYKcmyk(73.9%, 85.9%, 0%, 44.3%)
CIE-LABlab(19.42, 45.25, -62.74)
CIE-LCHlch(19.42, 77.35, 305.80°)
OKLaboklab(32.57% 0.0176 -0.1813)
OKLCHoklch(32.57% 0.182 275.6)
XYZxyz(5.8940, 2.8460, 25.8247)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25148E #7D8E14
analogous
#14408E #25148E #62148E
triadic
#25148E #8E2514 #148E25
tetradic
#25148E #8E1440 #7D8E14 #148E62
square
#25148E #8E1440 #7D8E14 #148E62
split-complementary
#25148E #8E6214 #408E14
monochromatic
#090523 #170C58 #25148E #331CC4 #5139E3

Accessibility & contrast

On white

13.38
#25148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#25148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25148E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25148E#FFFFFF#000000##FFFFFF
##25148E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25148e;
/* rgb */ color: rgb(37, 20, 142);
/* oklch */ color: oklch(32.6% 0.182 275.6);
Tailwind
colors: {
  custom: {
    50: '#7257b0',
    500: '#25148e',
    950: '#000000',
  },
}
SCSS
$custom: #25148e;
$custom-light: #7257b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25148e",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 248.361,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32569,
    "c": 0.18217,
    "h": 275.6
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#25148E
secondary
#AFC23C
accent
#F236D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #25148E

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

Preview Lab → · Contrast checker → · Palette generator →

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