#25519A#25519A

#25519A is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.129 H 260.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#25519A
RGBrgb(37, 81, 154)
HSLhsl(217, 61%, 37%)
HSVhsv(217, 76%, 60%)
CMYKcmyk(76%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.22, 11.55, -44.27)
CIE-LCHlch(35.22, 45.76, 284.62°)
OKLaboklab(44.52% -0.0224 -0.127)
OKLCHoklch(44.52% 0.129 260)
XYZxyz(9.5360, 8.6102, 31.7249)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25519A #9A6E25
analogous
#258C9A #25519A #33259A
triadic
#25519A #9A2551 #519A25
tetradic
#25519A #9A258C #9A6E25 #259A33
square
#25519A #9A258C #9A6E25 #259A33
split-complementary
#25519A #9A3325 #8C9A25
monochromatic
#0D1D37 #193769 #25519A #316BCB #608ED9

Accessibility & contrast

On white

7.71
#25519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#25519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25519A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25519A#FFFFFF#000000##FFFFFF
##25519A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#0D4E99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #25519a;
/* rgb */ color: rgb(37, 81, 154);
/* oklch */ color: oklch(44.5% 0.129 260.0);
Tailwind
colors: {
  custom: {
    50: '#7081b8',
    500: '#25519a',
    950: '#000000',
  },
}
SCSS
$custom: #25519a;
$custom-light: #7081b8;
$custom-dark: #000000;
JSON
{
  "hex": "#25519a",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 217.436,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.12897,
    "h": 260
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#25519A
secondary
#BE995D
accent
#A843E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25519A

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

Preview Lab → · Contrast checker → · Palette generator →

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