#25198C#25198C

#25198C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.176 H 275.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#25198C
RGBrgb(37, 25, 140)
HSLhsl(246, 70%, 32%)
HSVhsv(246, 82%, 55%)
CMYKcmyk(73.6%, 82.1%, 0%, 45.1%)
CIE-LABlab(19.97, 42.29, -60.57)
CIE-LCHlch(19.97, 73.87, 304.92°)
OKLaboklab(32.88% 0.0164 -0.1751)
OKLCHoklch(32.88% 0.176 275.3)
XYZxyz(5.8426, 2.9815, 25.0734)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25198C #808C19
analogous
#19468C #25198C #5F198C
triadic
#25198C #8C2519 #198C25
tetradic
#25198C #8C1946 #808C19 #198C5F
square
#25198C #8C1946 #808C19 #198C5F
split-complementary
#25198C #8C5F19 #468C19
monochromatic
#0A0624 #171058 #25198C #3322C0 #5242DD

Accessibility & contrast

On white

13.15
#25198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#25198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25198C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25198C#FFFFFF#000000##FFFFFF
##25198C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25198c;
/* rgb */ color: rgb(37, 25, 140);
/* oklch */ color: oklch(32.9% 0.176 275.3);
Tailwind
colors: {
  custom: {
    50: '#7159af',
    500: '#25198c',
    950: '#000000',
  },
}
SCSS
$custom: #25198c;
$custom-light: #7159af;
$custom-dark: #000000;
JSON
{
  "hex": "#25198c",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 246.261,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3288,
    "c": 0.1759,
    "h": 275.3
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#25198C
secondary
#B1BE43
accent
#ED3BDA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #25198C

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

Preview Lab → · Contrast checker → · Palette generator →

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