#25428C#25428C

#25428C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.128 H 265.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#25428C
RGBrgb(37, 66, 140)
HSLhsl(223, 58%, 35%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(73.6%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.87, 16.21, -44.37)
CIE-LCHlch(29.87, 47.24, 290.07°)
OKLaboklab(40.12% -0.0111 -0.1276)
OKLCHoklch(40.12% 0.128 265)
XYZxyz(7.4431, 6.1824, 25.6069)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25428C #8C6F25
analogous
#25768C #25428C #3C258C
triadic
#25428C #8C2542 #428C25
tetradic
#25428C #8C2576 #8C6F25 #258C3C
square
#25428C #8C2576 #8C6F25 #258C3C
split-complementary
#25428C #8C3C25 #768C25
monochromatic
#0B142B #182B5C #25428C #3259BC #587BD3

Accessibility & contrast

On white

9.39
#25428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25428C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25428C#FFFFFF#000000##FFFFFF
##25428C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #25428c;
/* rgb */ color: rgb(37, 66, 140);
/* oklch */ color: oklch(40.1% 0.128 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e75ae',
    500: '#25428c',
    950: '#000000',
  },
}
SCSS
$custom: #25428c;
$custom-light: #6e75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25428c",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 223.107,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40117,
    "c": 0.12805,
    "h": 265
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#25428C
secondary
#B89C55
accent
#B646E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25428C

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

Preview Lab → · Contrast checker → · Palette generator →

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