#25148B#25148B

#25148B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.179 H 276.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#25148B
RGBrgb(37, 20, 139)
HSLhsl(249, 75%, 31%)
HSVhsv(249, 86%, 55%)
CMYKcmyk(73.4%, 85.6%, 0%, 45.5%)
CIE-LABlab(19.04, 44.34, -61.48)
CIE-LCHlch(19.04, 75.80, 305.80°)
OKLaboklab(32.21% 0.0186 -0.1777)
OKLCHoklch(32.21% 0.179 276)
XYZxyz(5.6718, 2.7572, 24.6544)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25148B #7A8B14
analogous
#143E8B #25148B #60148B
triadic
#25148B #8B2514 #148B25
tetradic
#25148B #8B143E #7A8B14 #148B60
square
#25148B #8B143E #7A8B14 #148B60
split-complementary
#25148B #8B6014 #3E8B14
monochromatic
#090520 #170C55 #25148B #331CC1 #5037E2

Accessibility & contrast

On white

13.53
#25148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#25148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25148B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25148B#FFFFFF#000000##FFFFFF
##25148B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25148b;
/* rgb */ color: rgb(37, 20, 139);
/* oklch */ color: oklch(32.2% 0.179 276.0);
Tailwind
colors: {
  custom: {
    50: '#7257ae',
    500: '#25148b',
    950: '#000000',
  },
}
SCSS
$custom: #25148b;
$custom-light: #7257ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25148b",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 248.571,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32206,
    "c": 0.17865,
    "h": 276
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#25148B
secondary
#ACBF3C
accent
#F136D7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #25148B

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

Preview Lab → · Contrast checker → · Palette generator →

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