#25198A#25198A

#25198A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.173 H 275.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#25198A
RGBrgb(37, 25, 138)
HSLhsl(246, 69%, 32%)
HSVhsv(246, 82%, 54%)
CMYKcmyk(73.2%, 81.9%, 0%, 45.9%)
CIE-LABlab(19.73, 41.65, -59.71)
CIE-LCHlch(19.73, 72.80, 304.90°)
OKLaboklab(32.65% 0.0169 -0.1726)
OKLCHoklch(32.65% 0.173 275.6)
XYZxyz(5.6965, 2.9230, 24.3038)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25198A #7E8A19
analogous
#19458A #25198A #5E198A
triadic
#25198A #8A2519 #198A25
tetradic
#25198A #8A1945 #7E8A19 #198A5E
square
#25198A #8A1945 #7E8A19 #198A5E
split-complementary
#25198A #8A5E19 #458A19
monochromatic
#090622 #171056 #25198A #3322BE #5141DD

Accessibility & contrast

On white

13.25
#25198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#25198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25198A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25198A#FFFFFF#000000##FFFFFF
##25198A1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25198a;
/* rgb */ color: rgb(37, 25, 138);
/* oklch */ color: oklch(32.6% 0.173 275.6);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#25198a',
    950: '#000000',
  },
}
SCSS
$custom: #25198a;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25198a",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 246.372,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32647,
    "c": 0.17346,
    "h": 275.6
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#25198A
secondary
#B0BD42
accent
#EC3CD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #25198A

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

Preview Lab → · Contrast checker → · Palette generator →

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