#25189D#25189D

#25189D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.197 H 273.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#25189D
RGBrgb(37, 24, 157)
HSLhsl(246, 73%, 35%)
HSVhsv(246, 85%, 62%)
CMYKcmyk(76.4%, 84.7%, 0%, 38.4%)
CIE-LABlab(21.87, 48.06, -67.93)
CIE-LCHlch(21.87, 83.21, 305.28°)
OKLaboklab(34.79% 0.012 -0.1965)
OKLCHoklch(34.79% 0.197 273.5)
XYZxyz(7.1734, 3.4802, 32.1854)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25189D #909D18
analogous
#184D9D #25189D #68189D
triadic
#25189D #9D2518 #189D25
tetradic
#25189D #9D184D #909D18 #189D68
square
#25189D #9D184D #909D18 #189D68
split-complementary
#25189D #9D6818 #4D9D18
monochromatic
#0C0833 #181068 #25189D #3220D2 #5B4CE4

Accessibility & contrast

On white

12.38
#25189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#25189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25189D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25189D#FFFFFF#000000##FFFFFF
##25189D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25189d;
/* rgb */ color: rgb(37, 24, 157);
/* oklch */ color: oklch(34.8% 0.197 273.5);
Tailwind
colors: {
  custom: {
    50: '#765abb',
    500: '#25189d',
    950: '#000000',
  },
}
SCSS
$custom: #25189d;
$custom-light: #765abb;
$custom-dark: #000000;
JSON
{
  "hex": "#25189d",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 245.865,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34793,
    "c": 0.19681,
    "h": 273.5
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#25189D
secondary
#B9C54B
accent
#F038DE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25189D

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

Preview Lab → · Contrast checker → · Palette generator →

#25189D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva