#25188D#25188D

#25188D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.178 H 275.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#25188D
RGBrgb(37, 24, 141)
HSLhsl(247, 71%, 32%)
HSVhsv(247, 83%, 55%)
CMYKcmyk(73.8%, 83%, 0%, 44.7%)
CIE-LABlab(19.92, 43.10, -61.28)
CIE-LCHlch(19.92, 74.92, 305.12°)
OKLaboklab(32.88% 0.0165 -0.1772)
OKLCHoklch(32.88% 0.178 275.3)
XYZxyz(5.8957, 2.9691, 25.4565)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25188D #808D18
analogous
#18458D #25188D #60188D
triadic
#25188D #8D2518 #188D25
tetradic
#25188D #8D1845 #808D18 #188D60
square
#25188D #8D1845 #808D18 #188D60
split-complementary
#25188D #8D6018 #458D18
monochromatic
#0A0624 #170F59 #25188D #3321C1 #5241DF

Accessibility & contrast

On white

13.17
#25188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25188D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25188D#FFFFFF#000000##FFFFFF
##25188D1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25188d;
/* rgb */ color: rgb(37, 24, 141);
/* oklch */ color: oklch(32.9% 0.178 275.3);
Tailwind
colors: {
  custom: {
    50: '#7259b0',
    500: '#25188d',
    950: '#000000',
  },
}
SCSS
$custom: #25188d;
$custom-light: #7259b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25188d",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 246.667,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32881,
    "c": 0.17794,
    "h": 275.3
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#25188D
secondary
#B1BF42
accent
#EE3ADA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #25188D

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

Preview Lab → · Contrast checker → · Palette generator →

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