#25478A#25478A

#25478A is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.119 H 262.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#25478A
RGBrgb(37, 71, 138)
HSLhsl(220, 58%, 34%)
HSVhsv(220, 73%, 54%)
CMYKcmyk(73.2%, 48.6%, 0%, 45.9%)
CIE-LABlab(31.19, 12.01, -41.00)
CIE-LCHlch(31.19, 42.72, 286.32°)
OKLaboklab(41.08% -0.016 -0.1176)
OKLCHoklch(41.08% 0.119 262.2)
XYZxyz(7.6020, 6.7340, 24.9390)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25478A #8A6825
analogous
#257A8A #25478A #36258A
triadic
#25478A #8A2547 #478A25
tetradic
#25478A #8A257A #8A6825 #258A36
square
#25478A #8A257A #8A6825 #258A36
split-complementary
#25478A #8A3625 #7A8A25
monochromatic
#0B1529 #182E5A #25478A #3260BA #5781D2

Accessibility & contrast

On white

8.95
#25478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#25478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25478A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25478A#FFFFFF#000000##FFFFFF
##25478A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8C
Deuteranopia (green-blind)
#0A4589
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #25478a;
/* rgb */ color: rgb(37, 71, 138);
/* oklch */ color: oklch(41.1% 0.119 262.2);
Tailwind
colors: {
  custom: {
    50: '#6d79ad',
    500: '#25478a',
    950: '#000000',
  },
}
SCSS
$custom: #25478a;
$custom-light: #6d79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25478a",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 219.802,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41084,
    "c": 0.11864,
    "h": 262.2
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#25478A
secondary
#B79554
accent
#AD47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25478A

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

Preview Lab → · Contrast checker → · Palette generator →

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