#25559D#25559D

#25559D is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.128 H 258.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#25559D
RGBrgb(37, 85, 157)
HSLhsl(216, 62%, 38%)
HSVhsv(216, 76%, 62%)
CMYKcmyk(76.4%, 45.9%, 0%, 38.4%)
CIE-LABlab(36.60, 10.06, -43.87)
CIE-LCHlch(36.60, 45.01, 282.92°)
OKLaboklab(45.65% -0.0254 -0.1257)
OKLCHoklch(45.65% 0.128 258.6)
XYZxyz(10.0950, 9.3235, 33.1593)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25559D #9D6D25
analogous
#25919D #25559D #31259D
triadic
#25559D #9D2555 #559D25
tetradic
#25559D #9D2591 #9D6D25 #259D31
square
#25559D #9D2591 #9D6D25 #259D31
split-complementary
#25559D #9D3125 #919D25
monochromatic
#0E1F3A #193A6B #25559D #3170CE #6292DA

Accessibility & contrast

On white

7.33
#25559D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25559D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25559D#FFFFFF#000000##FFFFFF
##25559D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #25559d;
/* rgb */ color: rgb(37, 85, 157);
/* oklch */ color: oklch(45.6% 0.128 258.6);
Tailwind
colors: {
  custom: {
    50: '#7184ba',
    500: '#25559d',
    950: '#000000',
  },
}
SCSS
$custom: #25559d;
$custom-light: #7184ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25559d",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 157
  },
  "hsl": {
    "h": 216,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.12828,
    "h": 258.6
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#25559D
secondary
#BF995E
accent
#A443E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25559D

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

Preview Lab → · Contrast checker → · Palette generator →

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