#25478D#25478D

#25478D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.123 H 262.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#25478D
RGBrgb(37, 71, 141)
HSLhsl(220, 58%, 35%)
HSVhsv(220, 74%, 55%)
CMYKcmyk(73.8%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.40, 13.18, -42.52)
CIE-LCHlch(31.40, 44.51, 287.23°)
OKLaboklab(41.31% -0.0155 -0.122)
OKLCHoklch(41.31% 0.123 262.7)
XYZxyz(7.8222, 6.8220, 26.0987)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25478D #8D6B25
analogous
#257B8D #25478D #37258D
triadic
#25478D #8D2547 #478D25
tetradic
#25478D #8D257B #8D6B25 #258D37
square
#25478D #8D257B #8D6B25 #258D37
split-complementary
#25478D #8D3725 #7B8D25
monochromatic
#0C162C #182F5D #25478D #325FBD #5981D3

Accessibility & contrast

On white

8.88
#25478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#25478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25478D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25478D#FFFFFF#000000##FFFFFF
##25478D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#01458C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25478d;
/* rgb */ color: rgb(37, 71, 141);
/* oklch */ color: oklch(41.3% 0.123 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e79af',
    500: '#25478d',
    950: '#000000',
  },
}
SCSS
$custom: #25478d;
$custom-light: #6e79af;
$custom-dark: #000000;
JSON
{
  "hex": "#25478d",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 220.385,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41307,
    "c": 0.12299,
    "h": 262.7
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#25478D
secondary
#B89856
accent
#AF46E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25478D

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

Preview Lab → · Contrast checker → · Palette generator →

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