#25407F#25407F

#25407F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.112 H 264.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#25407F
RGBrgb(37, 64, 127)
HSLhsl(222, 55%, 32%)
HSVhsv(222, 71%, 50%)
CMYKcmyk(70.9%, 49.6%, 0%, 50.2%)
CIE-LABlab(28.36, 12.49, -38.73)
CIE-LCHlch(28.36, 40.70, 287.87°)
OKLaboklab(38.67% -0.011 -0.111)
OKLCHoklch(38.67% 0.112 264.4)
XYZxyz(6.4258, 5.5918, 20.8152)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25407F #7F6425
analogous
#256D7F #25407F #37257F
triadic
#25407F #7F2540 #407F25
tetradic
#25407F #7F256D #7F6425 #257F37
square
#25407F #7F256D #7F6425 #257F37
split-complementary
#25407F #7F3725 #6D7F25
monochromatic
#091020 #172850 #25407F #3358AE #5277CD

Accessibility & contrast

On white

9.91
#25407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#25407F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25407F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25407F#FFFFFF#000000##FFFFFF
##25407F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#083F7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25407f;
/* rgb */ color: rgb(37, 64, 127);
/* oklch */ color: oklch(38.7% 0.112 264.4);
Tailwind
colors: {
  custom: {
    50: '#6b74a4',
    500: '#25407f',
    950: '#000000',
  },
}
SCSS
$custom: #25407f;
$custom-light: #6b74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25407f",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 222,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.11155,
    "h": 264.4
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#25407F
secondary
#B1934F
accent
#B24ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25407F

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

Preview Lab → · Contrast checker → · Palette generator →

#25407F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva