#25176F#25176F

#25176F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.141 H 280.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#25176F
RGBrgb(37, 23, 111)
HSLhsl(250, 66%, 26%)
HSVhsv(250, 79%, 44%)
CMYKcmyk(66.7%, 79.3%, 0%, 56.5%)
CIE-LABlab(16.27, 33.90, -48.21)
CIE-LCHlch(16.27, 58.94, 305.12°)
OKLaboklab(29.32% 0.0255 -0.1391)
OKLCHoklch(29.32% 0.141 280.4)
XYZxyz(3.9377, 2.1535, 15.2440)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25176F #616F17
analogous
#17356F #25176F #51176F
triadic
#25176F #6F2517 #176F25
tetradic
#25176F #6F1735 #616F17 #176F51
square
#25176F #6F1735 #616F17 #176F51
split-complementary
#25176F #6F5117 #356F17
monochromatic
#080519 #140C3C #25176F #3622A2 #472DD3

Accessibility & contrast

On white

14.68
#25176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#25176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25176F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25176F#FFFFFF#000000##FFFFFF
##25176F1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25176f;
/* rgb */ color: rgb(37, 23, 111);
/* oklch */ color: oklch(29.3% 0.141 280.4);
Tailwind
colors: {
  custom: {
    50: '#6b5699',
    500: '#25176f',
    950: '#000000',
  },
}
SCSS
$custom: #25176f;
$custom-light: #6b5699;
$custom-dark: #000000;
JSON
{
  "hex": "#25176f",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 249.545,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29316,
    "c": 0.14144,
    "h": 280.4
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#25176F
secondary
#94A53D
accent
#E93FCE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25176F

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

Preview Lab → · Contrast checker → · Palette generator →

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