#25488B#25488B

#25488B is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.119 H 261.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#25488B
RGBrgb(37, 72, 139)
HSLhsl(219, 58%, 35%)
HSVhsv(219, 73%, 55%)
CMYKcmyk(73.4%, 48.2%, 0%, 45.5%)
CIE-LABlab(31.56, 11.72, -41.03)
CIE-LCHlch(31.56, 42.67, 285.94°)
OKLaboklab(41.39% -0.0168 -0.1176)
OKLCHoklch(41.39% 0.119 261.9)
XYZxyz(7.7389, 6.8913, 25.3434)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25488B #8B6825
analogous
#257B8B #25488B #35258B
triadic
#25488B #8B2548 #488B25
tetradic
#25488B #8B257B #8B6825 #258B35
square
#25488B #8B257B #8B6825 #258B35
split-complementary
#25488B #8B3525 #7B8B25
monochromatic
#0B162A #182F5B #25488B #3261BB #5882D3

Accessibility & contrast

On white

8.83
#25488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#25488B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25488B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25488B#FFFFFF#000000##FFFFFF
##25488B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#0C468A
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25488b;
/* rgb */ color: rgb(37, 72, 139);
/* oklch */ color: oklch(41.4% 0.119 261.9);
Tailwind
colors: {
  custom: {
    50: '#6d7aad',
    500: '#25488b',
    950: '#000000',
  },
}
SCSS
$custom: #25488b;
$custom-light: #6d7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#25488b",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 219.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.11881,
    "h": 261.9
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#25488B
secondary
#B79555
accent
#AC47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25488B

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

Preview Lab → · Contrast checker → · Palette generator →

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