#25418B#25418B

#25418B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.128 H 265.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#25418B
RGBrgb(37, 65, 139)
HSLhsl(224, 58%, 35%)
HSVhsv(224, 73%, 55%)
CMYKcmyk(73.4%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.51, 16.50, -44.34)
CIE-LCHlch(29.51, 47.31, 290.42°)
OKLaboklab(39.82% -0.0104 -0.1275)
OKLCHoklch(39.82% 0.128 265.4)
XYZxyz(7.3118, 6.0372, 25.2010)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25418B #8B6F25
analogous
#25748B #25418B #3C258B
triadic
#25418B #8B2541 #418B25
tetradic
#25418B #8B2574 #8B6F25 #258B3C
square
#25418B #8B2574 #8B6F25 #258B3C
split-complementary
#25418B #8B3C25 #748B25
monochromatic
#0B142A #182A5B #25418B #3258BB #587AD3

Accessibility & contrast

On white

9.51
#25418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#25418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25418B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25418B#FFFFFF#000000##FFFFFF
##25418B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25418b;
/* rgb */ color: rgb(37, 65, 139);
/* oklch */ color: oklch(39.8% 0.128 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e75ad',
    500: '#25418b',
    950: '#000000',
  },
}
SCSS
$custom: #25418b;
$custom-light: #6e75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25418b",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 223.529,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.1279,
    "h": 265.4
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#25418B
secondary
#B79C55
accent
#B747E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25418B

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

Preview Lab → · Contrast checker → · Palette generator →

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