#25477D#25477D

#25477D is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.100 H 259.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#25477D
RGBrgb(37, 71, 125)
HSLhsl(217, 54%, 32%)
HSVhsv(217, 70%, 49%)
CMYKcmyk(70.4%, 43.2%, 0%, 51%)
CIE-LABlab(30.35, 6.93, -34.29)
CIE-LCHlch(30.35, 34.99, 281.42°)
OKLaboklab(40.16% -0.0185 -0.0978)
OKLCHoklch(40.16% 0.1 259.3)
XYZxyz(6.7165, 6.3798, 20.2755)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25477D #7D5B25
analogous
#25737D #25477D #2F257D
triadic
#25477D #7D2547 #477D25
tetradic
#25477D #7D2573 #7D5B25 #257D2F
square
#25477D #7D2573 #7D5B25 #257D2F
split-complementary
#25477D #7D2F25 #737D25
monochromatic
#09111F #172C4E #25477D #3362AC #5180CB

Accessibility & contrast

On white

9.23
#25477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#25477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25477D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25477D#FFFFFF#000000##FFFFFF
##25477D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25477d;
/* rgb */ color: rgb(37, 71, 125);
/* oklch */ color: oklch(40.2% 0.100 259.3);
Tailwind
colors: {
  custom: {
    50: '#6a79a3',
    500: '#25477d',
    950: '#000000',
  },
}
SCSS
$custom: #25477d;
$custom-light: #6a79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25477d",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 216.818,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40163,
    "c": 0.09957,
    "h": 259.3
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#25477D
secondary
#AF8A4F
accent
#A54ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #25477D

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

Preview Lab → · Contrast checker → · Palette generator →

#25477D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva