#25409E#25409E

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

Color values

HEX#25409E
RGBrgb(37, 64, 158)
HSLhsl(227, 62%, 38%)
HSVhsv(227, 77%, 62%)
CMYKcmyk(76.6%, 59.5%, 0%, 38%)
CIE-LABlab(30.71, 24.58, -54.00)
CIE-LCHlch(30.71, 59.33, 294.47°)
OKLaboklab(41.19% -0.0083 -0.1559)
OKLCHoklch(41.19% 0.156 266.9)
XYZxyz(8.7657, 6.5278, 33.1391)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25409E #9E8325
analogous
#257C9E #25409E #47259E
triadic
#25409E #9E2540 #409E25
tetradic
#25409E #9E257C #9E8325 #259E47
square
#25409E #9E257C #9E8325 #259E47
split-complementary
#25409E #9E4725 #7C9E25
monochromatic
#0E183B #192C6C #25409E #3154CF #637EDA

Accessibility & contrast

On white

9.11
#25409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#25409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25409E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25409E#FFFFFF#000000##FFFFFF
##25409E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25409e;
/* rgb */ color: rgb(37, 64, 158);
/* oklch */ color: oklch(41.2% 0.156 266.9);
Tailwind
colors: {
  custom: {
    50: '#7274bb',
    500: '#25409e',
    950: '#000000',
  },
}
SCSS
$custom: #25409e;
$custom-light: #7274bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25409e",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 226.612,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.15614,
    "h": 266.9
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#25409E
secondary
#C0AA5F
accent
#C143E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25409E

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

Preview Lab → · Contrast checker → · Palette generator →

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