#25479B#25479B

#25479B is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.143 H 264.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#25479B
RGBrgb(37, 71, 155)
HSLhsl(223, 61%, 38%)
HSVhsv(223, 76%, 61%)
CMYKcmyk(76.1%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.40, 18.67, -49.43)
CIE-LCHlch(32.40, 52.84, 290.69°)
OKLaboklab(42.39% -0.0138 -0.1424)
OKLCHoklch(42.39% 0.143 264.4)
XYZxyz(8.9305, 7.2654, 31.9357)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25479B #9B7925
analogous
#25829B #25479B #3E259B
triadic
#25479B #9B2547 #479B25
tetradic
#25479B #9B2582 #9B7925 #259B3E
square
#25479B #9B2582 #9B7925 #259B3E
split-complementary
#25479B #9B3E25 #829B25
monochromatic
#0D1A38 #19306A #25479B #315ECC #6184D9

Accessibility & contrast

On white

8.56
#25479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#25479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25479B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25479B#FFFFFF#000000##FFFFFF
##25479B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #25479b;
/* rgb */ color: rgb(37, 71, 155);
/* oklch */ color: oklch(42.4% 0.143 264.4);
Tailwind
colors: {
  custom: {
    50: '#7179b9',
    500: '#25479b',
    950: '#000000',
  },
}
SCSS
$custom: #25479b;
$custom-light: #7179b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25479b",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 222.712,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.14303,
    "h": 264.4
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#25479B
secondary
#BFA35D
accent
#B643E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #25479B

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

Preview Lab → · Contrast checker → · Palette generator →

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