#25459D#25459D

#25459D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.148 H 265.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#25459D
RGBrgb(37, 69, 157)
HSLhsl(224, 62%, 38%)
HSVhsv(224, 76%, 62%)
CMYKcmyk(76.4%, 56.1%, 0%, 38.4%)
CIE-LABlab(31.99, 20.81, -51.30)
CIE-LCHlch(31.99, 55.36, 292.08°)
OKLaboklab(42.13% -0.0121 -0.1479)
OKLCHoklch(42.13% 0.148 265.3)
XYZxyz(8.9747, 7.0829, 32.7859)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25459D #9D7D25
analogous
#25819D #25459D #41259D
triadic
#25459D #9D2545 #459D25
tetradic
#25459D #9D2581 #9D7D25 #259D41
square
#25459D #9D2581 #9D7D25 #259D41
split-complementary
#25459D #9D4125 #819D25
monochromatic
#0E193A #192F6B #25459D #315BCE #6282DA

Accessibility & contrast

On white

8.69
#25459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#25459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25459D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25459D#FFFFFF#000000##FFFFFF
##25459D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #25459d;
/* rgb */ color: rgb(37, 69, 157);
/* oklch */ color: oklch(42.1% 0.148 265.3);
Tailwind
colors: {
  custom: {
    50: '#7278bb',
    500: '#25459d',
    950: '#000000',
  },
}
SCSS
$custom: #25459d;
$custom-light: #7278bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25459d",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 224,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42131,
    "c": 0.14839,
    "h": 265.3
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#25459D
secondary
#BFA65E
accent
#BA43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25459D

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

Preview Lab → · Contrast checker → · Palette generator →

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