#25428B#25428B

#25428B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.127 H 264.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#25428B
RGBrgb(37, 66, 139)
HSLhsl(223, 58%, 35%)
HSVhsv(223, 73%, 55%)
CMYKcmyk(73.4%, 52.5%, 0%, 45.5%)
CIE-LABlab(29.80, 15.82, -43.87)
CIE-LCHlch(29.80, 46.63, 289.82°)
OKLaboklab(40.04% -0.0112 -0.1261)
OKLCHoklch(40.04% 0.127 264.9)
XYZxyz(7.3697, 6.1531, 25.2204)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25428B #8B6E25
analogous
#25758B #25428B #3B258B
triadic
#25428B #8B2542 #428B25
tetradic
#25428B #8B2575 #8B6E25 #258B3B
square
#25428B #8B2575 #8B6E25 #258B3B
split-complementary
#25428B #8B3B25 #758B25
monochromatic
#0B142A #182B5B #25428B #3259BB #587BD3

Accessibility & contrast

On white

9.41
#25428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#25428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25428B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25428B#FFFFFF#000000##FFFFFF
##25428B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25428b;
/* rgb */ color: rgb(37, 66, 139);
/* oklch */ color: oklch(40.0% 0.127 264.9);
Tailwind
colors: {
  custom: {
    50: '#6e75ad',
    500: '#25428b',
    950: '#000000',
  },
}
SCSS
$custom: #25428b;
$custom-light: #6e75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25428b",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 222.941,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.12659,
    "h": 264.9
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#25428B
secondary
#B79B55
accent
#B547E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25428B

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

Preview Lab → · Contrast checker → · Palette generator →

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