#25487A#25487A

#25487A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.094 H 257.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#25487A
RGBrgb(37, 72, 122)
HSLhsl(215, 53%, 31%)
HSVhsv(215, 70%, 48%)
CMYKcmyk(69.7%, 41%, 0%, 52.2%)
CIE-LABlab(30.48, 5.09, -32.22)
CIE-LCHlch(30.48, 32.62, 278.98°)
OKLaboklab(40.2% -0.0203 -0.0917)
OKLCHoklch(40.2% 0.094 257.5)
XYZxyz(6.5919, 6.4325, 19.3028)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25487A #7A5725
analogous
#25727A #25487A #2C257A
triadic
#25487A #7A2548 #487A25
tetradic
#25487A #7A2572 #7A5725 #257A2C
square
#25487A #7A2572 #7A5725 #257A2C
split-complementary
#25487A #7A2C25 #727A25
monochromatic
#09111C #172C4B #25487A #3364A9 #5082CA

Accessibility & contrast

On white

9.18
#25487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25487A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25487A#FFFFFF#000000##FFFFFF
##25487A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25487a;
/* rgb */ color: rgb(37, 72, 122);
/* oklch */ color: oklch(40.2% 0.094 257.5);
Tailwind
colors: {
  custom: {
    50: '#6a7aa1',
    500: '#25487a',
    950: '#000000',
  },
}
SCSS
$custom: #25487a;
$custom-light: #6a7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#25487a",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 215.294,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40203,
    "c": 0.09395,
    "h": 257.5
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#25487A
secondary
#AC864E
accent
#A14BDD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #25487A

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

Preview Lab → · Contrast checker → · Palette generator →

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