#25508D#25508D

#25508D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.112 H 257.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#25508D
RGBrgb(37, 80, 141)
HSLhsl(215, 58%, 35%)
HSVhsv(215, 74%, 55%)
CMYKcmyk(73.8%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.09, 7.13, -38.19)
CIE-LCHlch(34.09, 38.85, 280.58°)
OKLaboklab(43.38% -0.024 -0.1091)
OKLCHoklch(43.38% 0.112 257.6)
XYZxyz(8.4376, 8.0528, 26.3038)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25508D #8D6225
analogous
#25848D #25508D #2E258D
triadic
#25508D #8D2550 #508D25
tetradic
#25508D #8D2584 #8D6225 #258D2E
square
#25508D #8D2584 #8D6225 #258D2E
split-complementary
#25508D #8D2E25 #848D25
monochromatic
#0C192C #18345D #25508D #326CBD #598CD3

Accessibility & contrast

On white

8.04
#25508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#25508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25508D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25508D#FFFFFF#000000##FFFFFF
##25508D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #25508d;
/* rgb */ color: rgb(37, 80, 141);
/* oklch */ color: oklch(43.4% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#6e80af',
    500: '#25508d',
    950: '#000000',
  },
}
SCSS
$custom: #25508d;
$custom-light: #6e80af;
$custom-dark: #000000;
JSON
{
  "hex": "#25508d",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 215.192,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.11176,
    "h": 257.6
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#25508D
secondary
#B88F56
accent
#A146E2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25508D

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

Preview Lab → · Contrast checker → · Palette generator →

#25508D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva