#25487B#25487B

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

Color values

HEX#25487B
RGBrgb(37, 72, 123)
HSLhsl(216, 54%, 31%)
HSVhsv(216, 70%, 48%)
CMYKcmyk(69.9%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.54, 5.48, -32.75)
CIE-LCHlch(30.54, 33.20, 279.50°)
OKLaboklab(40.27% -0.02 -0.0933)
OKLCHoklch(40.27% 0.095 257.9)
XYZxyz(6.6542, 6.4574, 19.6308)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25487B #7B5825
analogous
#25737B #25487B #2D257B
triadic
#25487B #7B2548 #487B25
tetradic
#25487B #7B2573 #7B5825 #257B2D
square
#25487B #7B2573 #7B5825 #257B2D
split-complementary
#25487B #7B2D25 #737B25
monochromatic
#09111D #172C4C #25487B #3364AA #5082CA

Accessibility & contrast

On white

9.16
#25487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#25487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25487B
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25487B#FFFFFF#000000##FFFFFF
##25487B1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#24447A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25487b;
/* rgb */ color: rgb(37, 72, 123);
/* oklch */ color: oklch(40.3% 0.095 257.9);
Tailwind
colors: {
  custom: {
    50: '#6a7aa1',
    500: '#25487b',
    950: '#000000',
  },
}
SCSS
$custom: #25487b;
$custom-light: #6a7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#25487b",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 215.581,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.09542,
    "h": 257.9
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#25487B
secondary
#AD874F
accent
#A24BDD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #25487B

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

Preview Lab → · Contrast checker → · Palette generator →

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