#25579F#25579F

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

Color values

HEX#25579F
RGBrgb(37, 87, 159)
HSLhsl(215, 62%, 38%)
HSVhsv(215, 77%, 62%)
CMYKcmyk(76.7%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.32, 9.53, -43.91)
CIE-LCHlch(37.32, 44.94, 282.24°)
OKLaboklab(46.24% -0.0268 -0.1258)
OKLCHoklch(46.24% 0.129 258)
XYZxyz(10.4269, 9.7117, 34.1192)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25579F #9F6D25
analogous
#25949F #25579F #30259F
triadic
#25579F #9F2557 #579F25
tetradic
#25579F #9F2594 #9F6D25 #259F30
square
#25579F #9F2594 #9F6D25 #259F30
split-complementary
#25579F #9F3025 #949F25
monochromatic
#0E213C #193C6D #25579F #3272CF #6494DB

Accessibility & contrast

On white

7.14
#25579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25579F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25579F#FFFFFF#000000##FFFFFF
##25579F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA2
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #25579f;
/* rgb */ color: rgb(37, 87, 159);
/* oklch */ color: oklch(46.2% 0.129 258.0);
Tailwind
colors: {
  custom: {
    50: '#7185bc',
    500: '#25579f',
    950: '#000000',
  },
}
SCSS
$custom: #25579f;
$custom-light: #7185bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25579f",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 215.41,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.12866,
    "h": 258
  },
  "luminance": 0.09713
}

Semantic roles & 50–950 ramp

primary
#25579F
secondary
#C0995F
accent
#A342E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #25579F

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

Preview Lab → · Contrast checker → · Palette generator →

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