#25148A#25148A

#25148A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.177 H 276.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#25148A
RGBrgb(37, 20, 138)
HSLhsl(249, 75%, 31%)
HSVhsv(249, 86%, 54%)
CMYKcmyk(73.2%, 85.5%, 0%, 45.9%)
CIE-LABlab(18.92, 44.03, -61.06)
CIE-LCHlch(18.92, 75.28, 305.80°)
OKLaboklab(32.09% 0.0189 -0.1765)
OKLCHoklch(32.09% 0.177 276.1)
XYZxyz(5.5990, 2.7281, 24.2713)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25148A #798A14
analogous
#143E8A #25148A #60148A
triadic
#25148A #8A2514 #148A25
tetradic
#25148A #8A143E #798A14 #148A60
square
#25148A #8A143E #798A14 #148A60
split-complementary
#25148A #8A6014 #3E8A14
monochromatic
#08051F #170C55 #25148A #331CBF #4F36E2

Accessibility & contrast

On white

13.59
#25148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25148A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25148A#FFFFFF#000000##FFFFFF
##25148A1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25148a;
/* rgb */ color: rgb(37, 20, 138);
/* oklch */ color: oklch(32.1% 0.177 276.1);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#25148a',
    950: '#000000',
  },
}
SCSS
$custom: #25148a;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25148a",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 248.644,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32085,
    "c": 0.17747,
    "h": 276.1
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#25148A
secondary
#ABBE3C
accent
#F136D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #25148A

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

Preview Lab → · Contrast checker → · Palette generator →

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