#25417D#25417D

#25417D is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.107 H 263.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#25417D
RGBrgb(37, 65, 125)
HSLhsl(221, 54%, 32%)
HSVhsv(221, 70%, 49%)
CMYKcmyk(70.4%, 48%, 0%, 51%)
CIE-LABlab(28.52, 11.02, -37.22)
CIE-LCHlch(28.52, 38.82, 286.49°)
OKLaboklab(38.75% -0.0123 -0.1065)
OKLCHoklch(38.75% 0.107 263.4)
XYZxyz(6.3536, 5.6539, 20.1545)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25417D #7D6125
analogous
#256D7D #25417D #35257D
triadic
#25417D #7D2541 #417D25
tetradic
#25417D #7D256D #7D6125 #257D35
square
#25417D #7D256D #7D6125 #257D35
split-complementary
#25417D #7D3525 #6D7D25
monochromatic
#09101F #17284E #25417D #335AAC #5178CB

Accessibility & contrast

On white

9.85
#25417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#25417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25417D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25417D#FFFFFF#000000##FFFFFF
##25417D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#113F7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25417d;
/* rgb */ color: rgb(37, 65, 125);
/* oklch */ color: oklch(38.8% 0.107 263.4);
Tailwind
colors: {
  custom: {
    50: '#6b75a3',
    500: '#25417d',
    950: '#000000',
  },
}
SCSS
$custom: #25417d;
$custom-light: #6b75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25417d",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 220.909,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.10725,
    "h": 263.4
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#25417D
secondary
#AF904F
accent
#AF4ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25417D

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

Preview Lab → · Contrast checker → · Palette generator →

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