#25409C#25409C

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

Color values

HEX#25409C
RGBrgb(37, 64, 156)
HSLhsl(226, 62%, 38%)
HSVhsv(226, 76%, 61%)
CMYKcmyk(76.3%, 59%, 0%, 38.8%)
CIE-LABlab(30.54, 23.81, -53.06)
CIE-LCHlch(30.54, 58.15, 294.17°)
OKLaboklab(41.02% -0.0084 -0.1531)
OKLCHoklch(41.02% 0.153 266.9)
XYZxyz(8.5950, 6.4595, 32.2399)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25409C #9C8125
analogous
#257B9C #25409C #46259C
triadic
#25409C #9C2540 #409C25
tetradic
#25409C #9C257B #9C8125 #259C46
square
#25409C #9C257B #9C8125 #259C46
split-complementary
#25409C #9C4625 #7B9C25
monochromatic
#0E1739 #192C6B #25409C #3154CD #627DDA

Accessibility & contrast

On white

9.16
#25409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25409C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25409C#FFFFFF#000000##FFFFFF
##25409C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25409c;
/* rgb */ color: rgb(37, 64, 156);
/* oklch */ color: oklch(41.0% 0.153 266.9);
Tailwind
colors: {
  custom: {
    50: '#7274ba',
    500: '#25409c',
    950: '#000000',
  },
}
SCSS
$custom: #25409c;
$custom-light: #7274ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25409c",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 226.387,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.15337,
    "h": 266.9
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25409C

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

Preview Lab → · Contrast checker → · Palette generator →

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