#25439E#25439E

#25439E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.152 H 266.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#25439E
RGBrgb(37, 67, 158)
HSLhsl(225, 62%, 38%)
HSVhsv(225, 77%, 62%)
CMYKcmyk(76.6%, 57.6%, 0%, 38%)
CIE-LABlab(31.52, 22.55, -52.68)
CIE-LCHlch(31.52, 57.30, 293.18°)
OKLaboklab(41.8% -0.0105 -0.152)
OKLCHoklch(41.8% 0.152 266)
XYZxyz(8.9395, 6.8753, 33.1970)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25439E #9E8025
analogous
#257F9E #25439E #43259E
triadic
#25439E #9E2543 #439E25
tetradic
#25439E #9E257F #9E8025 #259E43
square
#25439E #9E257F #9E8025 #259E43
split-complementary
#25439E #9E4325 #7F9E25
monochromatic
#0E193B #192E6C #25439E #3158CF #6381DA

Accessibility & contrast

On white

8.84
#25439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#25439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25439E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25439E#FFFFFF#000000##FFFFFF
##25439E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25439e;
/* rgb */ color: rgb(37, 67, 158);
/* oklch */ color: oklch(41.8% 0.152 266.0);
Tailwind
colors: {
  custom: {
    50: '#7276bb',
    500: '#25439e',
    950: '#000000',
  },
}
SCSS
$custom: #25439e;
$custom-light: #7276bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25439e",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 225.124,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.15234,
    "h": 266
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#25439E
secondary
#C0A85F
accent
#BD43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25439E

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

Preview Lab → · Contrast checker → · Palette generator →

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