#25477C#25477C

#25477C is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.098 H 259.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#25477C
RGBrgb(37, 71, 124)
HSLhsl(217, 54%, 32%)
HSVhsv(217, 70%, 49%)
CMYKcmyk(70.2%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.29, 6.54, -33.77)
CIE-LCHlch(30.29, 34.39, 280.96°)
OKLaboklab(40.1% -0.0187 -0.0963)
OKLCHoklch(40.1% 0.098 259)
XYZxyz(6.6530, 6.3544, 19.9408)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25477C #7C5A25
analogous
#25737C #25477C #2F257C
triadic
#25477C #7C2547 #477C25
tetradic
#25477C #7C2573 #7C5A25 #257C2F
square
#25477C #7C2573 #7C5A25 #257C2F
split-complementary
#25477C #7C2F25 #737C25
monochromatic
#09111E #172C4D #25477C #3362AB #5080CB

Accessibility & contrast

On white

9.25
#25477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#25477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25477C
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25477C#FFFFFF#000000##FFFFFF
##25477C1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7E
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25477c;
/* rgb */ color: rgb(37, 71, 124);
/* oklch */ color: oklch(40.1% 0.098 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a79a2',
    500: '#25477c',
    950: '#000000',
  },
}
SCSS
$custom: #25477c;
$custom-light: #6a79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25477c",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 216.552,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.0981,
    "h": 259
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#25477C
secondary
#AE894F
accent
#A44ADD
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #25477C

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

Preview Lab → · Contrast checker → · Palette generator →

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