#25478B#25478B

#25478B is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.120 H 262.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#25478B
RGBrgb(37, 71, 139)
HSLhsl(220, 58%, 35%)
HSVhsv(220, 73%, 55%)
CMYKcmyk(73.4%, 48.9%, 0%, 45.5%)
CIE-LABlab(31.26, 12.40, -41.51)
CIE-LCHlch(31.26, 43.32, 286.63°)
OKLaboklab(41.16% -0.0158 -0.119)
OKLCHoklch(41.16% 0.12 262.4)
XYZxyz(7.6747, 6.7631, 25.3220)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25478B #8B6925
analogous
#257A8B #25478B #36258B
triadic
#25478B #8B2547 #478B25
tetradic
#25478B #8B257A #8B6925 #258B36
square
#25478B #8B257A #8B6925 #258B36
split-complementary
#25478B #8B3625 #7A8B25
monochromatic
#0B162A #182E5B #25478B #3260BB #5881D3

Accessibility & contrast

On white

8.93
#25478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25478B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25478B#FFFFFF#000000##FFFFFF
##25478B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#07458A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25478b;
/* rgb */ color: rgb(37, 71, 139);
/* oklch */ color: oklch(41.2% 0.120 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d79ad',
    500: '#25478b',
    950: '#000000',
  },
}
SCSS
$custom: #25478b;
$custom-light: #6d79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25478b",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 220,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.1201,
    "h": 262.4
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#25478B
secondary
#B79655
accent
#AE47E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25478B

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

Preview Lab → · Contrast checker → · Palette generator →

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