#25408B#25408B

#25408B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.129 H 265.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#25408B
RGBrgb(37, 64, 139)
HSLhsl(224, 58%, 35%)
HSVhsv(224, 73%, 55%)
CMYKcmyk(73.4%, 54%, 0%, 45.5%)
CIE-LABlab(29.22, 17.19, -44.80)
CIE-LCHlch(29.22, 47.99, 290.99°)
OKLaboklab(39.6% -0.0095 -0.1289)
OKLCHoklch(39.6% 0.129 265.8)
XYZxyz(7.2549, 5.9234, 25.1821)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25408B #8B7025
analogous
#25738B #25408B #3D258B
triadic
#25408B #8B2540 #408B25
tetradic
#25408B #8B2573 #8B7025 #258B3D
square
#25408B #8B2573 #8B7025 #258B3D
split-complementary
#25408B #8B3D25 #738B25
monochromatic
#0B132A #182A5B #25408B #3256BB #5878D3

Accessibility & contrast

On white

9.61
#25408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#25408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25408B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25408B#FFFFFF#000000##FFFFFF
##25408B1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #25408b;
/* rgb */ color: rgb(37, 64, 139);
/* oklch */ color: oklch(39.6% 0.129 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e74ad',
    500: '#25408b',
    950: '#000000',
  },
}
SCSS
$custom: #25408b;
$custom-light: #6e74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25408b",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 224.118,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.12922,
    "h": 265.8
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#25408B
secondary
#B79D55
accent
#B847E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25408B

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

Preview Lab → · Contrast checker → · Palette generator →

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