#25519C#25519C

#25519C is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.132 H 260.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#25519C
RGBrgb(37, 81, 156)
HSLhsl(218, 62%, 38%)
HSVhsv(218, 76%, 61%)
CMYKcmyk(76.3%, 48.1%, 0%, 38.8%)
CIE-LABlab(35.36, 12.33, -45.27)
CIE-LCHlch(35.36, 46.92, 285.24°)
OKLaboklab(44.67% -0.0221 -0.1299)
OKLCHoklch(44.67% 0.132 260.3)
XYZxyz(9.7040, 8.6774, 32.6095)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25519C #9C7025
analogous
#258C9C #25519C #34259C
triadic
#25519C #9C2551 #519C25
tetradic
#25519C #9C258C #9C7025 #259C34
square
#25519C #9C258C #9C7025 #259C34
split-complementary
#25519C #9C3425 #8C9C25
monochromatic
#0E1E39 #19376B #25519C #316BCD #628EDA

Accessibility & contrast

On white

7.68
#25519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#25519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25519C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25519C#FFFFFF#000000##FFFFFF
##25519C1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28599F
Deuteranopia (green-blind)
#064E9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #25519c;
/* rgb */ color: rgb(37, 81, 156);
/* oklch */ color: oklch(44.7% 0.132 260.3);
Tailwind
colors: {
  custom: {
    50: '#7181ba',
    500: '#25519c',
    950: '#000000',
  },
}
SCSS
$custom: #25519c;
$custom-light: #7181ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25519c",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 217.815,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.13179,
    "h": 260.3
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#25519C
secondary
#BF9B5E
accent
#A943E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25519C

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

Preview Lab → · Contrast checker → · Palette generator →

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