#25409A#25409A

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

Color values

HEX#25409A
RGBrgb(37, 64, 154)
HSLhsl(226, 61%, 37%)
HSVhsv(226, 76%, 60%)
CMYKcmyk(76%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.38, 23.03, -52.10)
CIE-LCHlch(30.38, 56.97, 293.85°)
OKLaboklab(40.84% -0.0084 -0.1503)
OKLCHoklch(40.84% 0.151 266.8)
XYZxyz(8.4270, 6.3923, 31.3553)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25409A #9A7F25
analogous
#257A9A #25409A #45259A
triadic
#25409A #9A2540 #409A25
tetradic
#25409A #9A257A #9A7F25 #259A45
square
#25409A #9A257A #9A7F25 #259A45
split-complementary
#25409A #9A4525 #7A9A25
monochromatic
#0D1737 #192B69 #25409A #3155CB #607CD9

Accessibility & contrast

On white

9.22
#25409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#25409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25409A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25409A#FFFFFF#000000##FFFFFF
##25409A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25409a;
/* rgb */ color: rgb(37, 64, 154);
/* oklch */ color: oklch(40.8% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#7174b8',
    500: '#25409a',
    950: '#000000',
  },
}
SCSS
$custom: #25409a;
$custom-light: #7174b8;
$custom-dark: #000000;
JSON
{
  "hex": "#25409a",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 226.154,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.15058,
    "h": 266.8
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#25409A
secondary
#BEA85D
accent
#BF43E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #25409A

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

Preview Lab → · Contrast checker → · Palette generator →

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