#25559E#25559E

#25559E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.130 H 258.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#25559E
RGBrgb(37, 85, 158)
HSLhsl(216, 62%, 38%)
HSVhsv(216, 77%, 62%)
CMYKcmyk(76.6%, 46.2%, 0%, 38%)
CIE-LABlab(36.66, 10.46, -44.37)
CIE-LCHlch(36.66, 45.58, 283.26°)
OKLaboklab(45.72% -0.0253 -0.1272)
OKLCHoklch(45.72% 0.13 258.8)
XYZxyz(10.1808, 9.3578, 33.6108)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25559E #9E6E25
analogous
#25919E #25559E #31259E
triadic
#25559E #9E2555 #559E25
tetradic
#25559E #9E2591 #9E6E25 #259E31
square
#25559E #9E2591 #9E6E25 #259E31
split-complementary
#25559E #9E3125 #919E25
monochromatic
#0E203B #193A6C #25559E #3170CF #6392DA

Accessibility & contrast

On white

7.31
#25559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#25559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25559E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25559E#FFFFFF#000000##FFFFFF
##25559E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#14519D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #25559e;
/* rgb */ color: rgb(37, 85, 158);
/* oklch */ color: oklch(45.7% 0.130 258.8);
Tailwind
colors: {
  custom: {
    50: '#7184bb',
    500: '#25559e',
    950: '#000000',
  },
}
SCSS
$custom: #25559e;
$custom-light: #7184bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25559e",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 216.198,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.12968,
    "h": 258.8
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#25559E
secondary
#C0995F
accent
#A543E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25559E

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

Preview Lab → · Contrast checker → · Palette generator →

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