#25429E#25429E

#25429E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.154 H 266.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#25429E
RGBrgb(37, 66, 158)
HSLhsl(226, 62%, 38%)
HSVhsv(226, 77%, 62%)
CMYKcmyk(76.6%, 58.2%, 0%, 38%)
CIE-LABlab(31.25, 23.23, -53.12)
CIE-LCHlch(31.25, 57.98, 293.62°)
OKLaboklab(41.59% -0.0098 -0.1533)
OKLCHoklch(41.59% 0.154 266.4)
XYZxyz(8.8806, 6.7574, 33.1774)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25429E #9E8125
analogous
#257E9E #25429E #44259E
triadic
#25429E #9E2542 #429E25
tetradic
#25429E #9E257E #9E8125 #259E44
square
#25429E #9E257E #9E8125 #259E44
split-complementary
#25429E #9E4425 #7E9E25
monochromatic
#0E193B #192D6C #25429E #3157CF #6380DA

Accessibility & contrast

On white

8.93
#25429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#25429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25429E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25429E#FFFFFF#000000##FFFFFF
##25429E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25429e;
/* rgb */ color: rgb(37, 66, 158);
/* oklch */ color: oklch(41.6% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#7275bb',
    500: '#25429e',
    950: '#000000',
  },
}
SCSS
$custom: #25429e;
$custom-light: #7275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25429e",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 225.62,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41594,
    "c": 0.15361,
    "h": 266.4
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#25429E
secondary
#C0A95F
accent
#BE43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25429E

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

Preview Lab → · Contrast checker → · Palette generator →

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