#25579D#25579D

#25579D is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.1% C 0.126 H 257.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#25579D
RGBrgb(37, 87, 157)
HSLhsl(215, 62%, 38%)
HSVhsv(215, 76%, 62%)
CMYKcmyk(76.4%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.19, 8.75, -42.92)
CIE-LCHlch(37.19, 43.80, 281.52°)
OKLaboklab(46.11% -0.0272 -0.1229)
OKLCHoklch(46.11% 0.126 257.5)
XYZxyz(10.2547, 9.6429, 33.2126)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25579D #9D6B25
analogous
#25939D #25579D #2F259D
triadic
#25579D #9D2557 #579D25
tetradic
#25579D #9D2593 #9D6B25 #259D2F
square
#25579D #9D2593 #9D6B25 #259D2F
split-complementary
#25579D #9D2F25 #939D25
monochromatic
#0E203A #193C6B #25579D #3172CE #6294DA

Accessibility & contrast

On white

7.17
#25579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#25579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25579D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25579D#FFFFFF#000000##FFFFFF
##25579D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345DA0
Deuteranopia (green-blind)
#1D529C
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #25579d;
/* rgb */ color: rgb(37, 87, 157);
/* oklch */ color: oklch(46.1% 0.126 257.5);
Tailwind
colors: {
  custom: {
    50: '#7185ba',
    500: '#25579d',
    950: '#000000',
  },
}
SCSS
$custom: #25579d;
$custom-light: #7185ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25579d",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 215,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.12588,
    "h": 257.5
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#25579D
secondary
#BF975E
accent
#A143E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #25579D

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

Preview Lab → · Contrast checker → · Palette generator →

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