#25407C#25407C

#25407C is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.107 H 263.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#25407C
RGBrgb(37, 64, 124)
HSLhsl(221, 54%, 32%)
HSVhsv(221, 70%, 49%)
CMYKcmyk(70.2%, 48.4%, 0%, 51.4%)
CIE-LABlab(28.15, 11.32, -37.18)
CIE-LCHlch(28.15, 38.87, 286.93°)
OKLaboklab(38.45% -0.0114 -0.1064)
OKLCHoklch(38.45% 0.107 263.9)
XYZxyz(6.2332, 5.5147, 19.8008)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25407C #7C6125
analogous
#256C7C #25407C #36257C
triadic
#25407C #7C2540 #407C25
tetradic
#25407C #7C256C #7C6125 #257C36
square
#25407C #7C256C #7C6125 #257C36
split-complementary
#25407C #7C3625 #6C7C25
monochromatic
#090F1E #17284D #25407C #3358AB #5076CB

Accessibility & contrast

On white

9.99
#25407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#25407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25407C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25407C#FFFFFF#000000##FFFFFF
##25407C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477E
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #25407c;
/* rgb */ color: rgb(37, 64, 124);
/* oklch */ color: oklch(38.4% 0.107 263.9);
Tailwind
colors: {
  custom: {
    50: '#6a74a2',
    500: '#25407c',
    950: '#000000',
  },
}
SCSS
$custom: #25407c;
$custom-light: #6a74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25407c",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 221.379,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.10706,
    "h": 263.9
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#25407C
secondary
#AE914F
accent
#B04ADD
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25407C

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

Preview Lab → · Contrast checker → · Palette generator →

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