#25419D#25419D

#25419D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.153 H 266.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#25419D
RGBrgb(37, 65, 157)
HSLhsl(226, 62%, 38%)
HSVhsv(226, 76%, 62%)
CMYKcmyk(76.4%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.90, 23.52, -53.09)
CIE-LCHlch(30.90, 58.06, 293.89°)
OKLaboklab(41.31% -0.0091 -0.1532)
OKLCHoklch(41.31% 0.153 266.6)
XYZxyz(8.7369, 6.6073, 32.7066)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25419D #9D8125
analogous
#257D9D #25419D #45259D
triadic
#25419D #9D2541 #419D25
tetradic
#25419D #9D257D #9D8125 #259D45
square
#25419D #9D257D #9D8125 #259D45
split-complementary
#25419D #9D4525 #7D9D25
monochromatic
#0E183A #192C6B #25419D #3156CE #627EDA

Accessibility & contrast

On white

9.05
#25419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#25419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25419D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25419D#FFFFFF#000000##FFFFFF
##25419D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25419d;
/* rgb */ color: rgb(37, 65, 157);
/* oklch */ color: oklch(41.3% 0.153 266.6);
Tailwind
colors: {
  custom: {
    50: '#7275bb',
    500: '#25419d',
    950: '#000000',
  },
}
SCSS
$custom: #25419d;
$custom-light: #7275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25419d",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 226,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.15349,
    "h": 266.6
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#25419D
secondary
#BFA95E
accent
#BF43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25419D

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

Preview Lab → · Contrast checker → · Palette generator →

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