#25559C#25559C

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

Color values

HEX#25559C
RGBrgb(37, 85, 156)
HSLhsl(216, 62%, 38%)
HSVhsv(216, 76%, 61%)
CMYKcmyk(76.3%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.54, 9.67, -43.37)
CIE-LCHlch(36.54, 44.44, 282.57°)
OKLaboklab(45.58% -0.0256 -0.1243)
OKLCHoklch(45.58% 0.127 258.3)
XYZxyz(10.0100, 9.2895, 32.7115)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25559C #9C6C25
analogous
#25919C #25559C #30259C
triadic
#25559C #9C2555 #559C25
tetradic
#25559C #9C2591 #9C6C25 #259C30
square
#25559C #9C2591 #9C6C25 #259C30
split-complementary
#25559C #9C3025 #919C25
monochromatic
#0E1F39 #193A6B #25559C #3170CD #6292DA

Accessibility & contrast

On white

7.35
#25559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#25559C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25559C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25559C#FFFFFF#000000##FFFFFF
##25559C1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#18519B
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #25559c;
/* rgb */ color: rgb(37, 85, 156);
/* oklch */ color: oklch(45.6% 0.127 258.3);
Tailwind
colors: {
  custom: {
    50: '#7184ba',
    500: '#25559c',
    950: '#000000',
  },
}
SCSS
$custom: #25559c;
$custom-light: #7184ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25559c",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 215.798,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.12689,
    "h": 258.3
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#25559C
secondary
#BF985E
accent
#A443E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25559C

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

Preview Lab → · Contrast checker → · Palette generator →

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