#25459F#25459F

#25459F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.151 H 265.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#25459F
RGBrgb(37, 69, 159)
HSLhsl(224, 62%, 38%)
HSVhsv(224, 77%, 62%)
CMYKcmyk(76.7%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.15, 21.59, -52.26)
CIE-LCHlch(32.15, 56.54, 292.44°)
OKLaboklab(42.3% -0.012 -0.1507)
OKLCHoklch(42.3% 0.151 265.5)
XYZxyz(9.1469, 7.1517, 33.6925)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25459F #9F7F25
analogous
#25829F #25459F #42259F
triadic
#25459F #9F2545 #459F25
tetradic
#25459F #9F2582 #9F7F25 #259F42
square
#25459F #9F2582 #9F7F25 #259F42
split-complementary
#25459F #9F4225 #829F25
monochromatic
#0E1A3C #192F6D #25459F #325BCF #6483DB

Accessibility & contrast

On white

8.64
#25459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#25459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25459F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25459F#FFFFFF#000000##FFFFFF
##25459F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #25459f;
/* rgb */ color: rgb(37, 69, 159);
/* oklch */ color: oklch(42.3% 0.151 265.5);
Tailwind
colors: {
  custom: {
    50: '#7278bc',
    500: '#25459f',
    950: '#000000',
  },
}
SCSS
$custom: #25459f;
$custom-light: #7278bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25459f",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 224.262,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.15119,
    "h": 265.5
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#25459F
secondary
#C0A75F
accent
#BB42E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25459F

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

Preview Lab → · Contrast checker → · Palette generator →

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