#25198B#25198B

#25198B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.175 H 275.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#25198B
RGBrgb(37, 25, 139)
HSLhsl(246, 70%, 32%)
HSVhsv(246, 82%, 55%)
CMYKcmyk(73.4%, 82%, 0%, 45.5%)
CIE-LABlab(19.85, 41.97, -60.14)
CIE-LCHlch(19.85, 73.34, 304.91°)
OKLaboklab(32.76% 0.0167 -0.1739)
OKLCHoklch(32.76% 0.175 275.5)
XYZxyz(5.7692, 2.9521, 24.6869)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25198B #7F8B19
analogous
#19468B #25198B #5E198B
triadic
#25198B #8B2519 #198B25
tetradic
#25198B #8B1946 #7F8B19 #198B5E
square
#25198B #8B1946 #7F8B19 #198B5E
split-complementary
#25198B #8B5E19 #468B19
monochromatic
#090623 #171057 #25198B #3322BF #5241DD

Accessibility & contrast

On white

13.20
#25198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25198B
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25198B#FFFFFF#000000##FFFFFF
##25198B1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25198b;
/* rgb */ color: rgb(37, 25, 139);
/* oklch */ color: oklch(32.8% 0.175 275.5);
Tailwind
colors: {
  custom: {
    50: '#7159ae',
    500: '#25198b',
    950: '#000000',
  },
}
SCSS
$custom: #25198b;
$custom-light: #7159ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25198b",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 246.316,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32763,
    "c": 0.17468,
    "h": 275.5
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#25198B
secondary
#B1BE42
accent
#EC3BDA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #25198B

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

Preview Lab → · Contrast checker → · Palette generator →

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