#25408D#25408D

#25408D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.132 H 266.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#25408D
RGBrgb(37, 64, 141)
HSLhsl(224, 58%, 35%)
HSVhsv(224, 74%, 55%)
CMYKcmyk(73.8%, 54.6%, 0%, 44.7%)
CIE-LABlab(29.37, 17.97, -45.79)
CIE-LCHlch(29.37, 49.19, 291.43°)
OKLaboklab(39.76% -0.0093 -0.1318)
OKLCHoklch(39.76% 0.132 266)
XYZxyz(7.4024, 5.9824, 25.9587)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25408D #8D7225
analogous
#25748D #25408D #3E258D
triadic
#25408D #8D2540 #408D25
tetradic
#25408D #8D2574 #8D7225 #258D3E
square
#25408D #8D2574 #8D7225 #258D3E
split-complementary
#25408D #8D3E25 #748D25
monochromatic
#0C142C #182A5D #25408D #3256BD #5979D3

Accessibility & contrast

On white

9.56
#25408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#25408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25408D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25408D#FFFFFF#000000##FFFFFF
##25408D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #25408d;
/* rgb */ color: rgb(37, 64, 141);
/* oklch */ color: oklch(39.8% 0.132 266.0);
Tailwind
colors: {
  custom: {
    50: '#6e74af',
    500: '#25408d',
    950: '#000000',
  },
}
SCSS
$custom: #25408d;
$custom-light: #6e74af;
$custom-dark: #000000;
JSON
{
  "hex": "#25408d",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 224.423,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.13211,
    "h": 266
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#25408D
secondary
#B89F56
accent
#B946E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25408D

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

Preview Lab → · Contrast checker → · Palette generator →

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