#25148D#25148D

#25148D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.181 H 275.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#25148D
RGBrgb(37, 20, 141)
HSLhsl(248, 75%, 32%)
HSVhsv(248, 86%, 55%)
CMYKcmyk(73.8%, 85.8%, 0%, 44.7%)
CIE-LABlab(19.29, 44.95, -62.32)
CIE-LCHlch(19.29, 76.84, 305.80°)
OKLaboklab(32.45% 0.0179 -0.1801)
OKLCHoklch(32.45% 0.181 275.7)
XYZxyz(5.8192, 2.8161, 25.4310)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25148D #7C8D14
analogous
#14408D #25148D #62148D
triadic
#25148D #8D2514 #148D25
tetradic
#25148D #8D1440 #7C8D14 #148D62
square
#25148D #8D1440 #7C8D14 #148D62
split-complementary
#25148D #8D6214 #408D14
monochromatic
#090522 #170C57 #25148D #331CC3 #5039E3

Accessibility & contrast

On white

13.43
#25148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25148D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25148D#FFFFFF#000000##FFFFFF
##25148D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25148d;
/* rgb */ color: rgb(37, 20, 141);
/* oklch */ color: oklch(32.4% 0.181 275.7);
Tailwind
colors: {
  custom: {
    50: '#7257b0',
    500: '#25148d',
    950: '#000000',
  },
}
SCSS
$custom: #25148d;
$custom-light: #7257b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25148d",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 248.43,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32448,
    "c": 0.181,
    "h": 275.7
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#25148D
secondary
#AEC13C
accent
#F236D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #25148D

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

Preview Lab → · Contrast checker → · Palette generator →

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