#25478C#25478C

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

Color values

HEX#25478C
RGBrgb(37, 71, 140)
HSLhsl(220, 58%, 35%)
HSVhsv(220, 74%, 55%)
CMYKcmyk(73.6%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.33, 12.79, -42.01)
CIE-LCHlch(31.33, 43.92, 286.93°)
OKLaboklab(41.23% -0.0157 -0.1205)
OKLCHoklch(41.23% 0.122 262.6)
XYZxyz(7.7481, 6.7924, 25.7086)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25478C #8C6A25
analogous
#257B8C #25478C #36258C
triadic
#25478C #8C2547 #478C25
tetradic
#25478C #8C257B #8C6A25 #258C36
square
#25478C #8C257B #8C6A25 #258C36
split-complementary
#25478C #8C3625 #7B8C25
monochromatic
#0B162B #182E5C #25478C #3260BC #5881D3

Accessibility & contrast

On white

8.90
#25478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25478C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25478C#FFFFFF#000000##FFFFFF
##25478C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25478c;
/* rgb */ color: rgb(37, 71, 140);
/* oklch */ color: oklch(41.2% 0.122 262.6);
Tailwind
colors: {
  custom: {
    50: '#6e79ae',
    500: '#25478c',
    950: '#000000',
  },
}
SCSS
$custom: #25478c;
$custom-light: #6e79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25478c",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 220.194,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.12155,
    "h": 262.6
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#25478C
secondary
#B89755
accent
#AE46E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25478C

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

Preview Lab → · Contrast checker → · Palette generator →

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