#25176D#25176D

#25176D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.139 H 280.8°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#25176D
RGBrgb(37, 23, 109)
HSLhsl(250, 65%, 26%)
HSVhsv(250, 79%, 43%)
CMYKcmyk(66.1%, 78.9%, 0%, 57.3%)
CIE-LABlab(16.05, 33.24, -47.27)
CIE-LCHlch(16.05, 57.78, 305.11°)
OKLaboklab(29.1% 0.026 -0.1364)
OKLCHoklch(29.1% 0.139 280.8)
XYZxyz(3.8288, 2.1099, 14.6705)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25176D #5F6D17
analogous
#17346D #25176D #50176D
triadic
#25176D #6D2517 #176D25
tetradic
#25176D #6D1734 #5F6D17 #176D50
square
#25176D #6D1734 #5F6D17 #176D50
split-complementary
#25176D #6D5017 #346D17
monochromatic
#090519 #140C3A #25176D #3622A0 #472CD2

Accessibility & contrast

On white

14.77
#25176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25176D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25176D#FFFFFF#000000##FFFFFF
##25176D1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25176d;
/* rgb */ color: rgb(37, 23, 109);
/* oklch */ color: oklch(29.1% 0.139 280.8);
Tailwind
colors: {
  custom: {
    50: '#6a5698',
    500: '#25176d',
    950: '#000000',
  },
}
SCSS
$custom: #25176d;
$custom-light: #6a5698;
$custom-dark: #000000;
JSON
{
  "hex": "#25176d",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 249.767,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29096,
    "c": 0.13884,
    "h": 280.8
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#25176D
secondary
#92A33D
accent
#E840CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25176D

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

Preview Lab → · Contrast checker → · Palette generator →

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