#25407B#25407B

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

Color values

HEX#25407B
RGBrgb(37, 64, 123)
HSLhsl(221, 54%, 31%)
HSVhsv(221, 70%, 48%)
CMYKcmyk(69.9%, 48%, 0%, 51.8%)
CIE-LABlab(28.09, 10.92, -36.66)
CIE-LCHlch(28.09, 38.26, 286.59°)
OKLaboklab(38.38% -0.0116 -0.1049)
OKLCHoklch(38.38% 0.106 263.7)
XYZxyz(6.1702, 5.4896, 19.4695)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25407B #7B6025
analogous
#256B7B #25407B #35257B
triadic
#25407B #7B2540 #407B25
tetradic
#25407B #7B256B #7B6025 #257B35
square
#25407B #7B256B #7B6025 #257B35
split-complementary
#25407B #7B3525 #6B7B25
monochromatic
#090F1D #17284C #25407B #3358AA #5076CA

Accessibility & contrast

On white

10.01
#25407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25407B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25407B#FFFFFF#000000##FFFFFF
##25407B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#113F7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #25407b;
/* rgb */ color: rgb(37, 64, 123);
/* oklch */ color: oklch(38.4% 0.106 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a74a1',
    500: '#25407b',
    950: '#000000',
  },
}
SCSS
$custom: #25407b;
$custom-light: #6a74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25407b",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 221.163,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.10556,
    "h": 263.7
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#25407B
secondary
#AD904F
accent
#AF4BDD
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25407B

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

Preview Lab → · Contrast checker → · Palette generator →

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