#25188C#25188C

#25188C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.177 H 275.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#25188C
RGBrgb(37, 24, 140)
HSLhsl(247, 71%, 32%)
HSVhsv(247, 83%, 55%)
CMYKcmyk(73.6%, 82.9%, 0%, 45.1%)
CIE-LABlab(19.80, 42.78, -60.85)
CIE-LCHlch(19.80, 74.39, 305.11°)
OKLaboklab(32.76% 0.0168 -0.1759)
OKLCHoklch(32.76% 0.177 275.5)
XYZxyz(5.8217, 2.9395, 25.0664)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25188C #7F8C18
analogous
#18458C #25188C #5F188C
triadic
#25188C #8C2518 #188C25
tetradic
#25188C #8C1845 #7F8C18 #188C5F
square
#25188C #8C1845 #7F8C18 #188C5F
split-complementary
#25188C #8C5F18 #458C18
monochromatic
#090624 #170F58 #25188C #3321C0 #5240DE

Accessibility & contrast

On white

13.22
#25188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25188C
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25188C#FFFFFF#000000##FFFFFF
##25188C1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25188c;
/* rgb */ color: rgb(37, 24, 140);
/* oklch */ color: oklch(32.8% 0.177 275.5);
Tailwind
colors: {
  custom: {
    50: '#7259af',
    500: '#25188c',
    950: '#000000',
  },
}
SCSS
$custom: #25188c;
$custom-light: #7259af;
$custom-dark: #000000;
JSON
{
  "hex": "#25188c",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 246.724,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32763,
    "c": 0.17673,
    "h": 275.5
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#25188C
secondary
#B1BF41
accent
#ED3AD9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #25188C

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

Preview Lab → · Contrast checker → · Palette generator →

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