#25176C#25176C

#25176C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.138 H 281.0°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#25176C
RGBrgb(37, 23, 108)
HSLhsl(250, 65%, 26%)
HSVhsv(250, 79%, 42%)
CMYKcmyk(65.7%, 78.7%, 0%, 57.6%)
CIE-LABlab(15.95, 32.90, -46.79)
CIE-LCHlch(15.95, 57.20, 305.11°)
OKLaboklab(28.99% 0.0263 -0.135)
OKLCHoklch(28.99% 0.138 281)
XYZxyz(3.7753, 2.0885, 14.3886)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25176C #5E6C17
analogous
#17346C #25176C #4F176C
triadic
#25176C #6C2517 #176C25
tetradic
#25176C #6C1734 #5E6C17 #176C4F
square
#25176C #6C1734 #5E6C17 #176C4F
split-complementary
#25176C #6C4F17 #346C17
monochromatic
#090519 #140C3A #25176C #36229E #482CD1

Accessibility & contrast

On white

14.81
#25176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#25176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25176C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25176C#FFFFFF#000000##FFFFFF
##25176C1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25176c;
/* rgb */ color: rgb(37, 23, 108);
/* oklch */ color: oklch(29.0% 0.138 281.0);
Tailwind
colors: {
  custom: {
    50: '#6a5697',
    500: '#25176c',
    950: '#000000',
  },
}
SCSS
$custom: #25176c;
$custom-light: #6a5697;
$custom-dark: #000000;
JSON
{
  "hex": "#25176c",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 249.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28986,
    "c": 0.13754,
    "h": 281
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#25176C
secondary
#91A23D
accent
#E840CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25176C

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

Preview Lab → · Contrast checker → · Palette generator →

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