#25428D#25428D

#25428D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.129 H 265.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#25428D
RGBrgb(37, 66, 141)
HSLhsl(223, 58%, 35%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(73.8%, 53.2%, 0%, 44.7%)
CIE-LABlab(29.94, 16.60, -44.87)
CIE-LCHlch(29.94, 47.84, 290.30°)
OKLaboklab(40.2% -0.011 -0.129)
OKLCHoklch(40.2% 0.129 265.1)
XYZxyz(7.5172, 6.2120, 25.9970)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25428D #8D7025
analogous
#25768D #25428D #3C258D
triadic
#25428D #8D2542 #428D25
tetradic
#25428D #8D2576 #8D7025 #258D3C
square
#25428D #8D2576 #8D7025 #258D3C
split-complementary
#25428D #8D3C25 #768D25
monochromatic
#0C152C #182B5D #25428D #3259BD #597BD3

Accessibility & contrast

On white

9.36
#25428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#25428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25428D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25428D#FFFFFF#000000##FFFFFF
##25428D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25428d;
/* rgb */ color: rgb(37, 66, 141);
/* oklch */ color: oklch(40.2% 0.129 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e75af',
    500: '#25428d',
    950: '#000000',
  },
}
SCSS
$custom: #25428d;
$custom-light: #6e75af;
$custom-dark: #000000;
JSON
{
  "hex": "#25428d",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 223.269,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.12949,
    "h": 265.1
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#25428D
secondary
#B89D56
accent
#B646E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25428D

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

Preview Lab → · Contrast checker → · Palette generator →

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