#25418E#25418E

#25418E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.132 H 265.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#25418E
RGBrgb(37, 65, 142)
HSLhsl(224, 59%, 35%)
HSVhsv(224, 74%, 56%)
CMYKcmyk(73.9%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.73, 17.68, -45.83)
CIE-LCHlch(29.73, 49.12, 291.09°)
OKLaboklab(40.06% -0.0101 -0.1319)
OKLCHoklch(40.06% 0.132 265.6)
XYZxyz(7.5340, 6.1261, 26.3713)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25418E #8E7225
analogous
#25758E #25418E #3E258E
triadic
#25418E #8E2541 #418E25
tetradic
#25418E #8E2575 #8E7225 #258E3E
square
#25418E #8E2575 #8E7225 #258E3E
split-complementary
#25418E #8E3E25 #758E25
monochromatic
#0C152D #182B5D #25418E #3257BF #5A7AD4

Accessibility & contrast

On white

9.44
#25418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#25418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25418E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25418E#FFFFFF#000000##FFFFFF
##25418E1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25418e;
/* rgb */ color: rgb(37, 65, 142);
/* oklch */ color: oklch(40.1% 0.132 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e75b0',
    500: '#25418e',
    950: '#000000',
  },
}
SCSS
$custom: #25418e;
$custom-light: #6e75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25418e",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 224,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.13224,
    "h": 265.6
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#25418E
secondary
#B99E56
accent
#B846E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25418E

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

Preview Lab → · Contrast checker → · Palette generator →

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