#25188B#25188B

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

Color values

HEX#25188B
RGBrgb(37, 24, 139)
HSLhsl(247, 71%, 32%)
HSVhsv(247, 83%, 55%)
CMYKcmyk(73.4%, 82.7%, 0%, 45.5%)
CIE-LABlab(19.68, 42.47, -60.43)
CIE-LCHlch(19.68, 73.86, 305.10°)
OKLaboklab(32.65% 0.0171 -0.1747)
OKLCHoklch(32.65% 0.176 275.6)
XYZxyz(5.7483, 2.9101, 24.6799)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25188B #7E8B18
analogous
#18448B #25188B #5F188B
triadic
#25188B #8B2518 #188B25
tetradic
#25188B #8B1844 #7E8B18 #188B5F
square
#25188B #8B1844 #7E8B18 #188B5F
split-complementary
#25188B #8B5F18 #448B18
monochromatic
#090623 #170F57 #25188B #3321BF #513FDE

Accessibility & contrast

On white

13.27
#25188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#25188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25188B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25188B#FFFFFF#000000##FFFFFF
##25188B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25188b;
/* rgb */ color: rgb(37, 24, 139);
/* oklch */ color: oklch(32.6% 0.176 275.6);
Tailwind
colors: {
  custom: {
    50: '#7159ae',
    500: '#25188b',
    950: '#000000',
  },
}
SCSS
$custom: #25188b;
$custom-light: #7159ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25188b",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 246.783,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32645,
    "c": 0.17552,
    "h": 275.6
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#25188B
secondary
#B0BE40
accent
#ED3AD9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #25188B

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

Preview Lab → · Contrast checker → · Palette generator →

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