#25487E#25487E

#25487E is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.100 H 258.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#25487E
RGBrgb(37, 72, 126)
HSLhsl(216, 55%, 32%)
HSVhsv(216, 71%, 49%)
CMYKcmyk(70.6%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.72, 6.64, -34.33)
CIE-LCHlch(30.72, 34.96, 280.95°)
OKLaboklab(40.47% -0.0193 -0.0979)
OKLCHoklch(40.47% 0.1 258.8)
XYZxyz(6.8449, 6.5337, 20.6350)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25487E #7E5B25
analogous
#25757E #25487E #2E257E
triadic
#25487E #7E2548 #487E25
tetradic
#25487E #7E2575 #7E5B25 #257E2E
square
#25487E #7E2575 #7E5B25 #257E2E
split-complementary
#25487E #7E2E25 #757E25
monochromatic
#09121F #172D4F #25487E #3363AD #5182CC

Accessibility & contrast

On white

9.10
#25487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#25487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25487E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25487E#FFFFFF#000000##FFFFFF
##25487E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#21447D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25487e;
/* rgb */ color: rgb(37, 72, 126);
/* oklch */ color: oklch(40.5% 0.100 258.8);
Tailwind
colors: {
  custom: {
    50: '#6b7aa4',
    500: '#25487e',
    950: '#000000',
  },
}
SCSS
$custom: #25487e;
$custom-light: #6b7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#25487e",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 216.404,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.09981,
    "h": 258.8
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#25487E
secondary
#B08A4F
accent
#A44ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #25487E

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

Preview Lab → · Contrast checker → · Palette generator →

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