#25418D#25418D

#25418D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.131 H 265.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#25418D
RGBrgb(37, 65, 141)
HSLhsl(224, 58%, 35%)
HSVhsv(224, 74%, 55%)
CMYKcmyk(73.8%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.65, 17.29, -45.33)
CIE-LCHlch(29.65, 48.51, 290.87°)
OKLaboklab(39.98% -0.0101 -0.1304)
OKLCHoklch(39.98% 0.131 265.5)
XYZxyz(7.4593, 6.0962, 25.9777)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25418D #8D7125
analogous
#25758D #25418D #3D258D
triadic
#25418D #8D2541 #418D25
tetradic
#25418D #8D2575 #8D7125 #258D3D
square
#25418D #8D2575 #8D7125 #258D3D
split-complementary
#25418D #8D3D25 #758D25
monochromatic
#0C142C #182B5D #25418D #3257BD #597AD3

Accessibility & contrast

On white

9.46
#25418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#25418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25418D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25418D#FFFFFF#000000##FFFFFF
##25418D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25418d;
/* rgb */ color: rgb(37, 65, 141);
/* oklch */ color: oklch(40.0% 0.131 265.5);
Tailwind
colors: {
  custom: {
    50: '#6e75af',
    500: '#25418d',
    950: '#000000',
  },
}
SCSS
$custom: #25418d;
$custom-light: #6e75af;
$custom-dark: #000000;
JSON
{
  "hex": "#25418d",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 223.846,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39978,
    "c": 0.1308,
    "h": 265.5
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#25418D
secondary
#B89E56
accent
#B846E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25418D

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

Preview Lab → · Contrast checker → · Palette generator →

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