#25459E#25459E

#25459E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.150 H 265.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#25459E
RGBrgb(37, 69, 158)
HSLhsl(224, 62%, 38%)
HSVhsv(224, 77%, 62%)
CMYKcmyk(76.6%, 56.3%, 0%, 38%)
CIE-LABlab(32.07, 21.20, -51.78)
CIE-LCHlch(32.07, 55.95, 292.26°)
OKLaboklab(42.21% -0.012 -0.1493)
OKLCHoklch(42.21% 0.15 265.4)
XYZxyz(9.0605, 7.1172, 33.2374)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25459E #9E7E25
analogous
#25819E #25459E #41259E
triadic
#25459E #9E2545 #459E25
tetradic
#25459E #9E2581 #9E7E25 #259E41
square
#25459E #9E2581 #9E7E25 #259E41
split-complementary
#25459E #9E4125 #819E25
monochromatic
#0E1A3B #192F6C #25459E #315BCF #6383DA

Accessibility & contrast

On white

8.66
#25459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25459E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25459E#FFFFFF#000000##FFFFFF
##25459E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25459e;
/* rgb */ color: rgb(37, 69, 158);
/* oklch */ color: oklch(42.2% 0.150 265.4);
Tailwind
colors: {
  custom: {
    50: '#7278bb',
    500: '#25459e',
    950: '#000000',
  },
}
SCSS
$custom: #25459e;
$custom-light: #7278bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25459e",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 224.132,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.14979,
    "h": 265.4
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25459E

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

Preview Lab → · Contrast checker → · Palette generator →

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