#25189F#25189F

#25189F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.199 H 273.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#25189F
RGBrgb(37, 24, 159)
HSLhsl(246, 74%, 36%)
HSVhsv(246, 85%, 62%)
CMYKcmyk(76.7%, 84.9%, 0%, 37.6%)
CIE-LABlab(22.12, 48.66, -68.74)
CIE-LCHlch(22.12, 84.22, 305.29°)
OKLaboklab(35.03% 0.0114 -0.1988)
OKLCHoklch(35.03% 0.199 273.3)
XYZxyz(7.3455, 3.5490, 33.0921)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25189F #929F18
analogous
#184E9F #25189F #68189F
triadic
#25189F #9F2518 #189F25
tetradic
#25189F #9F184E #929F18 #189F68
square
#25189F #9F184E #929F18 #189F68
split-complementary
#25189F #9F6818 #4E9F18
monochromatic
#0C0835 #19106A #25189F #3120D4 #5C4DE4

Accessibility & contrast

On white

12.28
#25189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#25189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25189F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25189F#FFFFFF#000000##FFFFFF
##25189F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25189f;
/* rgb */ color: rgb(37, 24, 159);
/* oklch */ color: oklch(35.0% 0.199 273.3);
Tailwind
colors: {
  custom: {
    50: '#765abd',
    500: '#25189f',
    950: '#000000',
  },
}
SCSS
$custom: #25189f;
$custom-light: #765abd;
$custom-dark: #000000;
JSON
{
  "hex": "#25189f",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 245.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.19913,
    "h": 273.3
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#25189F
secondary
#BAC64D
accent
#F037DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25189F

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

Preview Lab → · Contrast checker → · Palette generator →

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