#25408C#25408C

#25408C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.131 H 265.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#25408C
RGBrgb(37, 64, 140)
HSLhsl(224, 58%, 35%)
HSVhsv(224, 74%, 55%)
CMYKcmyk(73.6%, 54.3%, 0%, 45.1%)
CIE-LABlab(29.29, 17.58, -45.30)
CIE-LCHlch(29.29, 48.59, 291.21°)
OKLaboklab(39.68% -0.0094 -0.1303)
OKLCHoklch(39.68% 0.131 265.9)
XYZxyz(7.3283, 5.9528, 25.5686)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25408C #8C7125
analogous
#25748C #25408C #3E258C
triadic
#25408C #8C2540 #408C25
tetradic
#25408C #8C2574 #8C7125 #258C3E
square
#25408C #8C2574 #8C7125 #258C3E
split-complementary
#25408C #8C3E25 #748C25
monochromatic
#0B142B #182A5C #25408C #3256BC #5879D3

Accessibility & contrast

On white

9.59
#25408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#25408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25408C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25408C#FFFFFF#000000##FFFFFF
##25408C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #25408c;
/* rgb */ color: rgb(37, 64, 140);
/* oklch */ color: oklch(39.7% 0.131 265.9);
Tailwind
colors: {
  custom: {
    50: '#6e74ae',
    500: '#25408c',
    950: '#000000',
  },
}
SCSS
$custom: #25408c;
$custom-light: #6e74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25408c",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 224.272,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39681,
    "c": 0.13067,
    "h": 265.9
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#25408C
secondary
#B89E55
accent
#B946E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25408C

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

Preview Lab → · Contrast checker → · Palette generator →

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