#25409D#25409D

#25409D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.155 H 266.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#25409D
RGBrgb(37, 64, 157)
HSLhsl(227, 62%, 38%)
HSVhsv(227, 76%, 62%)
CMYKcmyk(76.4%, 59.2%, 0%, 38.4%)
CIE-LABlab(30.62, 24.19, -53.53)
CIE-LCHlch(30.62, 58.74, 294.32°)
OKLaboklab(41.1% -0.0083 -0.1545)
OKLCHoklch(41.1% 0.155 266.9)
XYZxyz(8.6800, 6.4935, 32.6877)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25409D #9D8225
analogous
#257C9D #25409D #46259D
triadic
#25409D #9D2540 #409D25
tetradic
#25409D #9D257C #9D8225 #259D46
square
#25409D #9D257C #9D8225 #259D46
split-complementary
#25409D #9D4625 #7C9D25
monochromatic
#0E183A #192C6B #25409D #3154CE #627DDA

Accessibility & contrast

On white

9.14
#25409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#25409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25409D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25409D#FFFFFF#000000##FFFFFF
##25409D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25409d;
/* rgb */ color: rgb(37, 64, 157);
/* oklch */ color: oklch(41.1% 0.155 266.9);
Tailwind
colors: {
  custom: {
    50: '#7274bb',
    500: '#25409d',
    950: '#000000',
  },
}
SCSS
$custom: #25409d;
$custom-light: #7274bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25409d",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 226.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.15475,
    "h": 266.9
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#25409D
secondary
#BFAA5E
accent
#C043E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25409D

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

Preview Lab → · Contrast checker → · Palette generator →

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