#25408E#25408E

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

Color values

HEX#25408E
RGBrgb(37, 64, 142)
HSLhsl(225, 59%, 35%)
HSVhsv(225, 74%, 56%)
CMYKcmyk(73.9%, 54.9%, 0%, 44.3%)
CIE-LABlab(29.44, 18.36, -46.29)
CIE-LCHlch(29.44, 49.80, 291.64°)
OKLaboklab(39.84% -0.0092 -0.1332)
OKLCHoklch(39.84% 0.134 266.1)
XYZxyz(7.4771, 6.0123, 26.3524)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25408E #8E7325
analogous
#25758E #25408E #3E258E
triadic
#25408E #8E2540 #408E25
tetradic
#25408E #8E2575 #8E7325 #258E3E
square
#25408E #8E2575 #8E7325 #258E3E
split-complementary
#25408E #8E3E25 #758E25
monochromatic
#0C142D #182A5D #25408E #3256BF #5A79D4

Accessibility & contrast

On white

9.53
#25408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25408E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25408E#FFFFFF#000000##FFFFFF
##25408E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #25408e;
/* rgb */ color: rgb(37, 64, 142);
/* oklch */ color: oklch(39.8% 0.134 266.1);
Tailwind
colors: {
  custom: {
    50: '#6e74b0',
    500: '#25408e',
    950: '#000000',
  },
}
SCSS
$custom: #25408e;
$custom-light: #6e74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25408e",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 224.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.13356,
    "h": 266.1
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#25408E
secondary
#B99F56
accent
#BA46E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25408E

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

Preview Lab → · Contrast checker → · Palette generator →

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