#25177A#25177A

#25177A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.155 H 278.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#25177A
RGBrgb(37, 23, 122)
HSLhsl(248, 68%, 28%)
HSVhsv(248, 81%, 48%)
CMYKcmyk(69.7%, 81.1%, 0%, 52.2%)
CIE-LABlab(17.51, 37.52, -53.26)
CIE-LCHlch(17.51, 65.15, 305.16°)
OKLaboklab(30.55% 0.0224 -0.1538)
OKLCHoklch(30.55% 0.155 278.3)
XYZxyz(4.5811, 2.4109, 18.6325)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25177A #6C7A17
analogous
#173A7A #25177A #56177A
triadic
#25177A #7A2517 #177A25
tetradic
#25177A #7A173A #6C7A17 #177A56
square
#25177A #7A173A #6C7A17 #177A56
split-complementary
#25177A #7A5617 #3A7A17
monochromatic
#08051A #150D47 #25177A #3521AD #4A33D9

Accessibility & contrast

On white

14.17
#25177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#25177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25177A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25177A#FFFFFF#000000##FFFFFF
##25177A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25177a;
/* rgb */ color: rgb(37, 23, 122);
/* oklch */ color: oklch(30.6% 0.155 278.3);
Tailwind
colors: {
  custom: {
    50: '#6d57a2',
    500: '#25177a',
    950: '#000000',
  },
}
SCSS
$custom: #25177a;
$custom-light: #6d57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25177a",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 248.485,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30551,
    "c": 0.15548,
    "h": 278.3
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#25177A
secondary
#9FAF3E
accent
#EB3DD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25177A

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

Preview Lab → · Contrast checker → · Palette generator →

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