#25498B#25498B

#25498B is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.118 H 261.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#25498B
RGBrgb(37, 73, 139)
HSLhsl(219, 58%, 35%)
HSVhsv(219, 73%, 55%)
CMYKcmyk(73.4%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.86, 11.04, -40.55)
CIE-LCHlch(31.86, 42.03, 285.23°)
OKLaboklab(41.61% -0.0177 -0.1162)
OKLCHoklch(41.61% 0.118 261.3)
XYZxyz(7.8040, 7.0217, 25.3651)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25498B #8B6725
analogous
#257C8B #25498B #34258B
triadic
#25498B #8B2549 #498B25
tetradic
#25498B #8B257C #8B6725 #258B34
square
#25498B #8B257C #8B6725 #258B34
split-complementary
#25498B #8B3425 #7C8B25
monochromatic
#0B162A #18305B #25498B #3262BB #5883D3

Accessibility & contrast

On white

8.73
#25498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#25498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25498B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25498B#FFFFFF#000000##FFFFFF
##25498B1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#10478A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #25498b;
/* rgb */ color: rgb(37, 73, 139);
/* oklch */ color: oklch(41.6% 0.118 261.3);
Tailwind
colors: {
  custom: {
    50: '#6d7bad',
    500: '#25498b',
    950: '#000000',
  },
}
SCSS
$custom: #25498b;
$custom-light: #6d7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#25498b",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 218.824,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.11754,
    "h": 261.3
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#25498B
secondary
#B79455
accent
#AB47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25498B

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

Preview Lab → · Contrast checker → · Palette generator →

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