#25407D#25407D

#25407D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.109 H 264.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#25407D
RGBrgb(37, 64, 125)
HSLhsl(222, 54%, 32%)
HSVhsv(222, 70%, 49%)
CMYKcmyk(70.4%, 48.8%, 0%, 51%)
CIE-LABlab(28.22, 11.71, -37.70)
CIE-LCHlch(28.22, 39.48, 287.25°)
OKLaboklab(38.52% -0.0113 -0.108)
OKLCHoklch(38.52% 0.109 264)
XYZxyz(6.2967, 5.5402, 20.1356)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25407D #7D6225
analogous
#256C7D #25407D #36257D
triadic
#25407D #7D2540 #407D25
tetradic
#25407D #7D256C #7D6225 #257D36
square
#25407D #7D256C #7D6225 #257D36
split-complementary
#25407D #7D3625 #6C7D25
monochromatic
#09101F #17284E #25407D #3358AC #5177CB

Accessibility & contrast

On white

9.96
#25407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#25407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25407D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25407D#FFFFFF#000000##FFFFFF
##25407D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#0D3F7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25407d;
/* rgb */ color: rgb(37, 64, 125);
/* oklch */ color: oklch(38.5% 0.109 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b74a3',
    500: '#25407d',
    950: '#000000',
  },
}
SCSS
$custom: #25407d;
$custom-light: #6b74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25407d",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 221.591,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38523,
    "c": 0.10857,
    "h": 264
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#25407D
secondary
#AF924F
accent
#B04ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25407D

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

Preview Lab → · Contrast checker → · Palette generator →

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