#25477E#25477E

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

Color values

HEX#25477E
RGBrgb(37, 71, 126)
HSLhsl(217, 55%, 32%)
HSVhsv(217, 71%, 49%)
CMYKcmyk(70.6%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.41, 7.31, -34.82)
CIE-LCHlch(30.41, 35.58, 281.86°)
OKLaboklab(40.23% -0.0183 -0.0994)
OKLCHoklch(40.23% 0.101 259.6)
XYZxyz(6.7807, 6.4055, 20.6136)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25477E #7E5C25
analogous
#25747E #25477E #30257E
triadic
#25477E #7E2547 #477E25
tetradic
#25477E #7E2574 #7E5C25 #257E30
square
#25477E #7E2574 #7E5C25 #257E30
split-complementary
#25477E #7E3025 #747E25
monochromatic
#09121F #172C4F #25477E #3362AD #5180CC

Accessibility & contrast

On white

9.21
#25477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25477E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25477E#FFFFFF#000000##FFFFFF
##25477E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25477e;
/* rgb */ color: rgb(37, 71, 126);
/* oklch */ color: oklch(40.2% 0.101 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b79a4',
    500: '#25477e',
    950: '#000000',
  },
}
SCSS
$custom: #25477e;
$custom-light: #6b79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25477e",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 217.079,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.10105,
    "h": 259.6
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25477E

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

Preview Lab → · Contrast checker → · Palette generator →

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