#25477A#25477A

#25477A is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.095 H 258.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#25477A
RGBrgb(37, 71, 122)
HSLhsl(216, 53%, 31%)
HSVhsv(216, 70%, 48%)
CMYKcmyk(69.7%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.17, 5.76, -32.71)
CIE-LCHlch(30.17, 33.22, 279.99°)
OKLaboklab(39.96% -0.0192 -0.0932)
OKLCHoklch(39.96% 0.095 258.4)
XYZxyz(6.5278, 6.3043, 19.2814)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25477A #7A5825
analogous
#25717A #25477A #2D257A
triadic
#25477A #7A2547 #477A25
tetradic
#25477A #7A2571 #7A5825 #257A2D
square
#25477A #7A2571 #7A5825 #257A2D
split-complementary
#25477A #7A2D25 #717A25
monochromatic
#09101C #172C4B #25477A #3362A9 #5080CA

Accessibility & contrast

On white

9.29
#25477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#25477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25477A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25477A#FFFFFF#000000##FFFFFF
##25477A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25477a;
/* rgb */ color: rgb(37, 71, 122);
/* oklch */ color: oklch(40.0% 0.095 258.4);
Tailwind
colors: {
  custom: {
    50: '#6a79a1',
    500: '#25477a',
    950: '#000000',
  },
}
SCSS
$custom: #25477a;
$custom-light: #6a79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25477a",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 216,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39961,
    "c": 0.09516,
    "h": 258.4
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#25477A
secondary
#AC874E
accent
#A24BDD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #25477A

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

Preview Lab → · Contrast checker → · Palette generator →

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