#25407E#25407E

#25407E is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.110 H 264.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#25407E
RGBrgb(37, 64, 126)
HSLhsl(222, 55%, 32%)
HSVhsv(222, 71%, 49%)
CMYKcmyk(70.6%, 49.2%, 0%, 50.6%)
CIE-LABlab(28.29, 12.10, -38.22)
CIE-LCHlch(28.29, 40.09, 287.56°)
OKLaboklab(38.6% -0.0111 -0.1095)
OKLCHoklch(38.6% 0.11 264.2)
XYZxyz(6.3609, 5.5658, 20.4737)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25407E #7E6325
analogous
#256D7E #25407E #37257E
triadic
#25407E #7E2540 #407E25
tetradic
#25407E #7E256D #7E6325 #257E37
square
#25407E #7E256D #7E6325 #257E37
split-complementary
#25407E #7E3725 #6D7E25
monochromatic
#09101F #17284F #25407E #3358AD #5177CC

Accessibility & contrast

On white

9.94
#25407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25407E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25407E#FFFFFF#000000##FFFFFF
##25407E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#0B3F7D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25407e;
/* rgb */ color: rgb(37, 64, 126);
/* oklch */ color: oklch(38.6% 0.110 264.2);
Tailwind
colors: {
  custom: {
    50: '#6b74a4',
    500: '#25407e',
    950: '#000000',
  },
}
SCSS
$custom: #25407e;
$custom-light: #6b74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25407e",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 221.798,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.11006,
    "h": 264.2
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#25407E
secondary
#B0934F
accent
#B14ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25407E

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

Preview Lab → · Contrast checker → · Palette generator →

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