#25519B#25519B

#25519B is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.130 H 260.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#25519B
RGBrgb(37, 81, 155)
HSLhsl(218, 61%, 38%)
HSVhsv(218, 76%, 61%)
CMYKcmyk(76.1%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.29, 11.94, -44.77)
CIE-LCHlch(35.29, 46.34, 284.93°)
OKLaboklab(44.6% -0.0223 -0.1285)
OKLCHoklch(44.6% 0.13 260.2)
XYZxyz(9.6196, 8.6437, 32.1654)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25519B #9B6F25
analogous
#258C9B #25519B #34259B
triadic
#25519B #9B2551 #519B25
tetradic
#25519B #9B258C #9B6F25 #259B34
square
#25519B #9B258C #9B6F25 #259B34
split-complementary
#25519B #9B3425 #8C9B25
monochromatic
#0D1D38 #19376A #25519B #316BCC #618ED9

Accessibility & contrast

On white

7.70
#25519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#25519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25519B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25519B#FFFFFF#000000##FFFFFF
##25519B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#0A4E9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #25519b;
/* rgb */ color: rgb(37, 81, 155);
/* oklch */ color: oklch(44.6% 0.130 260.2);
Tailwind
colors: {
  custom: {
    50: '#7181b9',
    500: '#25519b',
    950: '#000000',
  },
}
SCSS
$custom: #25519b;
$custom-light: #7181b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25519b",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 217.627,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.13037,
    "h": 260.2
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#25519B
secondary
#BF9A5D
accent
#A843E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25519B

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

Preview Lab → · Contrast checker → · Palette generator →

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