#25439D#25439D

#25439D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.151 H 266.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#25439D
RGBrgb(37, 67, 157)
HSLhsl(225, 62%, 38%)
HSVhsv(225, 76%, 62%)
CMYKcmyk(76.4%, 57.3%, 0%, 38.4%)
CIE-LABlab(31.44, 22.16, -52.20)
CIE-LCHlch(31.44, 56.71, 293.01°)
OKLaboklab(41.72% -0.0106 -0.1506)
OKLCHoklch(41.72% 0.151 266)
XYZxyz(8.8538, 6.8410, 32.7456)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25439D #9D7F25
analogous
#257F9D #25439D #43259D
triadic
#25439D #9D2543 #439D25
tetradic
#25439D #9D257F #9D7F25 #259D43
square
#25439D #9D257F #9D7F25 #259D43
split-complementary
#25439D #9D4325 #7F9D25
monochromatic
#0E193A #192E6B #25439D #3158CE #6280DA

Accessibility & contrast

On white

8.87
#25439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#25439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25439D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25439D#FFFFFF#000000##FFFFFF
##25439D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25439d;
/* rgb */ color: rgb(37, 67, 157);
/* oklch */ color: oklch(41.7% 0.151 266.0);
Tailwind
colors: {
  custom: {
    50: '#7276bb',
    500: '#25439d',
    950: '#000000',
  },
}
SCSS
$custom: #25439d;
$custom-light: #7276bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25439d",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 225,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.15094,
    "h": 266
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#25439D
secondary
#BFA75E
accent
#BC43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #25439D

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

Preview Lab → · Contrast checker → · Palette generator →

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