#25197D#25197D

#25197D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.157 H 277.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#25197D
RGBrgb(37, 25, 125)
HSLhsl(247, 67%, 29%)
HSVhsv(247, 80%, 49%)
CMYKcmyk(70.4%, 80%, 0%, 51%)
CIE-LABlab(18.23, 37.43, -53.99)
CIE-LCHlch(18.23, 65.70, 304.73°)
OKLaboklab(31.15% 0.0205 -0.156)
OKLCHoklch(31.15% 0.157 277.5)
XYZxyz(4.8111, 2.5688, 19.6404)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25197D #717D19
analogous
#193F7D #25197D #57197D
triadic
#25197D #7D2519 #197D25
tetradic
#25197D #7D193F #717D19 #197D57
square
#25197D #7D193F #717D19 #197D57
split-complementary
#25197D #7D5719 #3F7D19
monochromatic
#08051A #160F4A #25197D #3423B0 #4C39D7

Accessibility & contrast

On white

13.87
#25197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#25197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25197D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25197D#FFFFFF#000000##FFFFFF
##25197D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25197d;
/* rgb */ color: rgb(37, 25, 125);
/* oklch */ color: oklch(31.2% 0.157 277.5);
Tailwind
colors: {
  custom: {
    50: '#6e58a4',
    500: '#25197d',
    950: '#000000',
  },
}
SCSS
$custom: #25197d;
$custom-light: #6e58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25197d",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 247.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31153,
    "c": 0.15734,
    "h": 277.5
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#25197D
secondary
#A4B140
accent
#EA3ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25197D

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

Preview Lab → · Contrast checker → · Palette generator →

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