#25478F#25478F

#25478F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.126 H 263.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#25478F
RGBrgb(37, 71, 143)
HSLhsl(221, 59%, 35%)
HSVhsv(221, 74%, 56%)
CMYKcmyk(74.1%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.54, 13.97, -43.52)
CIE-LCHlch(31.54, 45.71, 287.80°)
OKLaboklab(41.46% -0.0152 -0.125)
OKLCHoklch(41.46% 0.126 263)
XYZxyz(7.9723, 6.8821, 26.8895)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25478F #8F6D25
analogous
#257C8F #25478F #38258F
triadic
#25478F #8F2547 #478F25
tetradic
#25478F #8F257C #8F6D25 #258F38
square
#25478F #8F257C #8F6D25 #258F38
split-complementary
#25478F #8F3825 #7C8F25
monochromatic
#0C172E #182F5E #25478F #325FC0 #5A81D4

Accessibility & contrast

On white

8.84
#25478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#25478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25478F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25478F#FFFFFF#000000##FFFFFF
##25478F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25478f;
/* rgb */ color: rgb(37, 71, 143);
/* oklch */ color: oklch(41.5% 0.126 263.0);
Tailwind
colors: {
  custom: {
    50: '#6e79b0',
    500: '#25478f',
    950: '#000000',
  },
}
SCSS
$custom: #25478f;
$custom-light: #6e79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25478f",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 220.755,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41457,
    "c": 0.1259,
    "h": 263
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#25478F
secondary
#B99A57
accent
#B046E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25478F

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

Preview Lab → · Contrast checker → · Palette generator →

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