#25487D#25487D

#25487D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.098 H 258.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#25487D
RGBrgb(37, 72, 125)
HSLhsl(216, 54%, 32%)
HSVhsv(216, 70%, 49%)
CMYKcmyk(70.4%, 42.4%, 0%, 51%)
CIE-LABlab(30.66, 6.25, -33.80)
CIE-LCHlch(30.66, 34.38, 280.48°)
OKLaboklab(40.4% -0.0196 -0.0964)
OKLCHoklch(40.4% 0.098 258.5)
XYZxyz(6.7807, 6.5080, 20.2969)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25487D #7D5A25
analogous
#25747D #25487D #2E257D
triadic
#25487D #7D2548 #487D25
tetradic
#25487D #7D2574 #7D5A25 #257D2E
square
#25487D #7D2574 #7D5A25 #257D2E
split-complementary
#25487D #7D2E25 #747D25
monochromatic
#09121F #172D4E #25487D #3363AC #5182CB

Accessibility & contrast

On white

9.12
#25487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#25487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25487D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25487D#FFFFFF#000000##FFFFFF
##25487D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#22447C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25487d;
/* rgb */ color: rgb(37, 72, 125);
/* oklch */ color: oklch(40.4% 0.098 258.5);
Tailwind
colors: {
  custom: {
    50: '#6a7aa3',
    500: '#25487d',
    950: '#000000',
  },
}
SCSS
$custom: #25487d;
$custom-light: #6a7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#25487d",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 216.136,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.09834,
    "h": 258.5
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#25487D
secondary
#AF894F
accent
#A34ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #25487D

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

Preview Lab → · Contrast checker → · Palette generator →

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