#25429F#25429F

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

Color values

HEX#25429F
RGBrgb(37, 66, 159)
HSLhsl(226, 62%, 38%)
HSVhsv(226, 77%, 62%)
CMYKcmyk(76.7%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.33, 23.62, -53.59)
CIE-LCHlch(31.33, 58.57, 293.78°)
OKLaboklab(41.68% -0.0097 -0.1547)
OKLCHoklch(41.68% 0.155 266.4)
XYZxyz(8.9670, 6.7920, 33.6326)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25429F #9F8225
analogous
#257F9F #25429F #45259F
triadic
#25429F #9F2542 #429F25
tetradic
#25429F #9F257F #9F8225 #259F45
square
#25429F #9F257F #9F8225 #259F45
split-complementary
#25429F #9F4525 #7F9F25
monochromatic
#0E193C #192D6D #25429F #3257CF #6480DB

Accessibility & contrast

On white

8.90
#25429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#25429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25429F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25429F#FFFFFF#000000##FFFFFF
##25429F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25429f;
/* rgb */ color: rgb(37, 66, 159);
/* oklch */ color: oklch(41.7% 0.155 266.4);
Tailwind
colors: {
  custom: {
    50: '#7275bc',
    500: '#25429f',
    950: '#000000',
  },
}
SCSS
$custom: #25429f;
$custom-light: #7275bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25429f",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 225.738,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.155,
    "h": 266.4
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25429F

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

Preview Lab → · Contrast checker → · Palette generator →

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