#25579E#25579E

#25579E is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.127 H 257.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#25579E
RGBrgb(37, 87, 158)
HSLhsl(215, 62%, 38%)
HSVhsv(215, 77%, 62%)
CMYKcmyk(76.6%, 44.9%, 0%, 38%)
CIE-LABlab(37.26, 9.14, -43.42)
CIE-LCHlch(37.26, 44.37, 281.88°)
OKLaboklab(46.18% -0.027 -0.1244)
OKLCHoklch(46.18% 0.127 257.7)
XYZxyz(10.3404, 9.6772, 33.6640)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25579E #9E6C25
analogous
#25939E #25579E #30259E
triadic
#25579E #9E2557 #579E25
tetradic
#25579E #9E2593 #9E6C25 #259E30
square
#25579E #9E2593 #9E6C25 #259E30
split-complementary
#25579E #9E3025 #939E25
monochromatic
#0E203B #193C6C #25579E #3172CF #6394DA

Accessibility & contrast

On white

7.15
#25579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#25579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25579E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25579E#FFFFFF#000000##FFFFFF
##25579E1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #25579e;
/* rgb */ color: rgb(37, 87, 158);
/* oklch */ color: oklch(46.2% 0.127 257.7);
Tailwind
colors: {
  custom: {
    50: '#7185bb',
    500: '#25579e',
    950: '#000000',
  },
}
SCSS
$custom: #25579e;
$custom-light: #7185bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25579e",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 215.207,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.12726,
    "h": 257.7
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#25579E
secondary
#C0985F
accent
#A243E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #25579E

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

Preview Lab → · Contrast checker → · Palette generator →

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