#25406E#25406E

#25406E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.086 H 260.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#25406E
RGBrgb(37, 64, 110)
HSLhsl(218, 50%, 29%)
HSVhsv(218, 66%, 43%)
CMYKcmyk(66.4%, 41.8%, 0%, 56.9%)
CIE-LABlab(27.26, 5.88, -29.77)
CIE-LCHlch(27.26, 30.34, 281.18°)
OKLaboklab(37.47% -0.0143 -0.0847)
OKLCHoklch(37.47% 0.086 260.4)
XYZxyz(5.4098, 5.1854, 15.4646)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25406E #6E5325
analogous
#25656E #25406E #2F256E
triadic
#25406E #6E2540 #406E25
tetradic
#25406E #6E2565 #6E5325 #256E2F
square
#25406E #6E2565 #6E5325 #256E2F
split-complementary
#25406E #6E2F25 #656E25
monochromatic
#080D17 #162540 #25406E #345B9C #4B77C2

Accessibility & contrast

On white

10.31
#25406E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#25406E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25406E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25406E#FFFFFF#000000##FFFFFF
##25406E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#213D6D
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25406e;
/* rgb */ color: rgb(37, 64, 110);
/* oklch */ color: oklch(37.5% 0.086 260.4);
Tailwind
colors: {
  custom: {
    50: '#677498',
    500: '#25406e',
    950: '#000000',
  },
}
SCSS
$custom: #25406e;
$custom-light: #677498;
$custom-dark: #000000;
JSON
{
  "hex": "#25406e",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 217.808,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37468,
    "c": 0.08588,
    "h": 260.4
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#25406E
secondary
#A1824E
accent
#A64FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #25406E

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

Preview Lab → · Contrast checker → · Palette generator →

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