#25487C#25487C

#25487C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.097 H 258.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#25487C
RGBrgb(37, 72, 124)
HSLhsl(216, 54%, 32%)
HSVhsv(216, 70%, 49%)
CMYKcmyk(70.2%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.60, 5.86, -33.27)
CIE-LCHlch(30.60, 33.79, 279.99°)
OKLaboklab(40.34% -0.0198 -0.0948)
OKLCHoklch(40.34% 0.097 258.2)
XYZxyz(6.7171, 6.4826, 19.9621)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25487C #7C5925
analogous
#25747C #25487C #2E257C
triadic
#25487C #7C2548 #487C25
tetradic
#25487C #7C2574 #7C5925 #257C2E
square
#25487C #7C2574 #7C5925 #257C2E
split-complementary
#25487C #7C2E25 #747C25
monochromatic
#09111E #172D4D #25487C #3363AB #5082CB

Accessibility & contrast

On white

9.14
#25487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25487C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25487C#FFFFFF#000000##FFFFFF
##25487C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25487c;
/* rgb */ color: rgb(37, 72, 124);
/* oklch */ color: oklch(40.3% 0.097 258.2);
Tailwind
colors: {
  custom: {
    50: '#6a7aa2',
    500: '#25487c',
    950: '#000000',
  },
}
SCSS
$custom: #25487c;
$custom-light: #6a7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#25487c",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 215.862,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.09688,
    "h": 258.2
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#25487C
secondary
#AE884F
accent
#A24ADD
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #25487C

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

Preview Lab → · Contrast checker → · Palette generator →

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