#25559F#25559F

#25559F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.131 H 259.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#25559F
RGBrgb(37, 85, 159)
HSLhsl(216, 62%, 38%)
HSVhsv(216, 77%, 62%)
CMYKcmyk(76.7%, 46.5%, 0%, 37.6%)
CIE-LABlab(36.73, 10.85, -44.86)
CIE-LCHlch(36.73, 46.15, 283.59°)
OKLaboklab(45.79% -0.0251 -0.1286)
OKLCHoklch(45.79% 0.131 259)
XYZxyz(10.2672, 9.3924, 34.0660)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25559F #9F6F25
analogous
#25929F #25559F #32259F
triadic
#25559F #9F2555 #559F25
tetradic
#25559F #9F2592 #9F6F25 #259F32
square
#25559F #9F2592 #9F6F25 #259F32
split-complementary
#25559F #9F3225 #929F25
monochromatic
#0E203C #193A6D #25559F #3270CF #6492DB

Accessibility & contrast

On white

7.29
#25559F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#25559F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25559F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25559F#FFFFFF#000000##FFFFFF
##25559F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#12519E
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #25559f;
/* rgb */ color: rgb(37, 85, 159);
/* oklch */ color: oklch(45.8% 0.131 259.0);
Tailwind
colors: {
  custom: {
    50: '#7184bc',
    500: '#25559f',
    950: '#000000',
  },
}
SCSS
$custom: #25559f;
$custom-light: #7184bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25559f",
  "rgb": {
    "r": 37,
    "g": 85,
    "b": 159
  },
  "hsl": {
    "h": 216.393,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.13107,
    "h": 259
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#25559F
secondary
#C09A5F
accent
#A542E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25559F

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

Preview Lab → · Contrast checker → · Palette generator →

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