#25177D#25177D

#25177D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.159 H 277.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#25177D
RGBrgb(37, 23, 125)
HSLhsl(248, 69%, 29%)
HSVhsv(248, 82%, 49%)
CMYKcmyk(70.4%, 81.6%, 0%, 51%)
CIE-LABlab(17.86, 38.49, -54.60)
CIE-LCHlch(17.86, 66.81, 305.18°)
OKLaboklab(30.89% 0.0216 -0.1578)
OKLCHoklch(30.89% 0.159 277.8)
XYZxyz(4.7698, 2.4864, 19.6266)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25177D #6F7D17
analogous
#173C7D #25177D #58177D
triadic
#25177D #7D2517 #177D25
tetradic
#25177D #7D173C #6F7D17 #177D58
square
#25177D #7D173C #6F7D17 #177D58
split-complementary
#25177D #7D5817 #3C7D17
monochromatic
#08051A #160D49 #25177D #3421B1 #4B35DA

Accessibility & contrast

On white

14.02
#25177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#25177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25177D
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25177D#FFFFFF#000000##FFFFFF
##25177D1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25177d;
/* rgb */ color: rgb(37, 23, 125);
/* oklch */ color: oklch(30.9% 0.159 277.8);
Tailwind
colors: {
  custom: {
    50: '#6e57a4',
    500: '#25177d',
    950: '#000000',
  },
}
SCSS
$custom: #25177d;
$custom-light: #6e57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25177d",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 248.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30894,
    "c": 0.15923,
    "h": 277.8
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#25177D
secondary
#A2B23E
accent
#EC3CD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25177D

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

Preview Lab → · Contrast checker → · Palette generator →

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