#25478E#25478E

#25478E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.124 H 262.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#25478E
RGBrgb(37, 71, 142)
HSLhsl(221, 59%, 35%)
HSVhsv(221, 74%, 56%)
CMYKcmyk(73.9%, 50%, 0%, 44.3%)
CIE-LABlab(31.47, 13.58, -43.02)
CIE-LCHlch(31.47, 45.11, 287.52°)
OKLaboklab(41.38% -0.0154 -0.1235)
OKLCHoklch(41.38% 0.124 262.9)
XYZxyz(7.8969, 6.8519, 26.4923)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25478E #8E6C25
analogous
#257C8E #25478E #37258E
triadic
#25478E #8E2547 #478E25
tetradic
#25478E #8E257C #8E6C25 #258E37
square
#25478E #8E257C #8E6C25 #258E37
split-complementary
#25478E #8E3725 #7C8E25
monochromatic
#0C162D #182F5D #25478E #325FBF #5A81D4

Accessibility & contrast

On white

8.86
#25478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#25478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25478E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25478E#FFFFFF#000000##FFFFFF
##25478E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25478e;
/* rgb */ color: rgb(37, 71, 142);
/* oklch */ color: oklch(41.4% 0.124 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e79af',
    500: '#25478e',
    950: '#000000',
  },
}
SCSS
$custom: #25478e;
$custom-light: #6e79af;
$custom-dark: #000000;
JSON
{
  "hex": "#25478e",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 220.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.12444,
    "h": 262.9
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#25478E
secondary
#B99956
accent
#AF46E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25478E

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

Preview Lab → · Contrast checker → · Palette generator →

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