#25188A#25188A

#25188A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.174 H 275.7°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#25188A
RGBrgb(37, 24, 138)
HSLhsl(247, 70%, 32%)
HSVhsv(247, 83%, 54%)
CMYKcmyk(73.2%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.56, 42.15, -60.00)
CIE-LCHlch(19.56, 73.32, 305.09°)
OKLaboklab(32.53% 0.0174 -0.1734)
OKLCHoklch(32.53% 0.174 275.7)
XYZxyz(5.6755, 2.8810, 24.2968)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25188A #7D8A18
analogous
#18448A #25188A #5E188A
triadic
#25188A #8A2518 #188A25
tetradic
#25188A #8A1844 #7D8A18 #188A5E
square
#25188A #8A1844 #7D8A18 #188A5E
split-complementary
#25188A #8A5E18 #448A18
monochromatic
#090622 #170F56 #25188A #3321BE #513FDE

Accessibility & contrast

On white

13.32
#25188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25188A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25188A#FFFFFF#000000##FFFFFF
##25188A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25188a;
/* rgb */ color: rgb(37, 24, 138);
/* oklch */ color: oklch(32.5% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#25188a',
    950: '#000000',
  },
}
SCSS
$custom: #25188a;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25188a",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 246.842,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32527,
    "c": 0.17432,
    "h": 275.7
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#25188A
secondary
#AFBD40
accent
#ED3BD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #25188A

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

Preview Lab → · Contrast checker → · Palette generator →

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