#25409B#25409B

#25409B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.152 H 266.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#25409B
RGBrgb(37, 64, 155)
HSLhsl(226, 61%, 38%)
HSVhsv(226, 76%, 61%)
CMYKcmyk(76.1%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.46, 23.42, -52.58)
CIE-LCHlch(30.46, 57.56, 294.01°)
OKLaboklab(40.93% -0.0084 -0.1517)
OKLCHoklch(40.93% 0.152 266.8)
XYZxyz(8.5107, 6.4257, 31.7957)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25409B #9B8025
analogous
#257B9B #25409B #45259B
triadic
#25409B #9B2540 #409B25
tetradic
#25409B #9B257B #9B8025 #259B45
square
#25409B #9B257B #9B8025 #259B45
split-complementary
#25409B #9B4525 #7B9B25
monochromatic
#0D1738 #192C6A #25409B #3154CC #617DD9

Accessibility & contrast

On white

9.19
#25409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#25409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25409B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25409B#FFFFFF#000000##FFFFFF
##25409B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25409b;
/* rgb */ color: rgb(37, 64, 155);
/* oklch */ color: oklch(40.9% 0.152 266.8);
Tailwind
colors: {
  custom: {
    50: '#7274b9',
    500: '#25409b',
    950: '#000000',
  },
}
SCSS
$custom: #25409b;
$custom-light: #7274b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25409b",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 226.271,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4093,
    "c": 0.15197,
    "h": 266.8
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25409B

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

Preview Lab → · Contrast checker → · Palette generator →

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