#25508E#25508E

#25508E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.113 H 257.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#25508E
RGBrgb(37, 80, 142)
HSLhsl(215, 59%, 35%)
HSVhsv(215, 74%, 56%)
CMYKcmyk(73.9%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.15, 7.52, -38.71)
CIE-LCHlch(34.15, 39.43, 281.00°)
OKLaboklab(43.45% -0.0238 -0.1106)
OKLCHoklch(43.45% 0.113 257.8)
XYZxyz(8.5123, 8.0827, 26.6974)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25508E #8E6325
analogous
#25848E #25508E #2F258E
triadic
#25508E #8E2550 #508E25
tetradic
#25508E #8E2584 #8E6325 #258E2F
square
#25508E #8E2584 #8E6325 #258E2F
split-complementary
#25508E #8E2F25 #848E25
monochromatic
#0C192D #18355D #25508E #326BBF #5A8CD4

Accessibility & contrast

On white

8.03
#25508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#25508E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25508E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25508E#FFFFFF#000000##FFFFFF
##25508E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325690
Deuteranopia (green-blind)
#204C8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #25508e;
/* rgb */ color: rgb(37, 80, 142);
/* oklch */ color: oklch(43.5% 0.113 257.8);
Tailwind
colors: {
  custom: {
    50: '#6e80af',
    500: '#25508e',
    950: '#000000',
  },
}
SCSS
$custom: #25508e;
$custom-light: #6e80af;
$custom-dark: #000000;
JSON
{
  "hex": "#25508e",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 215.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.11319,
    "h": 257.8
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#25508E
secondary
#B99056
accent
#A246E2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25508E

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

Preview Lab → · Contrast checker → · Palette generator →

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