#25419F#25419F

#25419F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.156 H 266.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#25419F
RGBrgb(37, 65, 159)
HSLhsl(226, 62%, 38%)
HSVhsv(226, 77%, 62%)
CMYKcmyk(76.7%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.06, 24.29, -54.04)
CIE-LCHlch(31.06, 59.24, 294.21°)
OKLaboklab(41.48% -0.009 -0.156)
OKLCHoklch(41.48% 0.156 266.7)
XYZxyz(8.9091, 6.6761, 33.6133)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25419F #9F8325
analogous
#257E9F #25419F #46259F
triadic
#25419F #9F2541 #419F25
tetradic
#25419F #9F257E #9F8325 #259F46
square
#25419F #9F257E #9F8325 #259F46
split-complementary
#25419F #9F4625 #7E9F25
monochromatic
#0E183C #192D6D #25419F #3256CF #647FDB

Accessibility & contrast

On white

8.99
#25419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#25419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25419F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25419F#FFFFFF#000000##FFFFFF
##25419F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #25419f;
/* rgb */ color: rgb(37, 65, 159);
/* oklch */ color: oklch(41.5% 0.156 266.7);
Tailwind
colors: {
  custom: {
    50: '#7375bc',
    500: '#25419f',
    950: '#000000',
  },
}
SCSS
$custom: #25419f;
$custom-light: #7375bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25419f",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 226.23,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.15626,
    "h": 266.7
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#25419F
secondary
#C0AA5F
accent
#C042E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25419F

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

Preview Lab → · Contrast checker → · Palette generator →

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