#25517F#25517F

#25517F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.091 H 251.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#25517F
RGBrgb(37, 81, 127)
HSLhsl(211, 55%, 32%)
HSVhsv(211, 71%, 50%)
CMYKcmyk(70.9%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.58, 1.07, -30.40)
CIE-LCHlch(33.58, 30.42, 272.01°)
OKLaboklab(42.72% -0.0286 -0.0863)
OKLCHoklch(42.72% 0.091 251.6)
XYZxyz(7.5347, 7.8097, 21.1849)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25517F #7F5325
analogous
#257E7F #25517F #26257F
triadic
#25517F #7F2551 #517F25
tetradic
#25517F #7F257E #7F5325 #257F26
square
#25517F #7F257E #7F5325 #257F26
split-complementary
#25517F #7F2625 #7E7F25
monochromatic
#091520 #173350 #25517F #336FAE #528ECD

Accessibility & contrast

On white

8.20
#25517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#25517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25517F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25517F#FFFFFF#000000##FFFFFF
##25517F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #25517f;
/* rgb */ color: rgb(37, 81, 127);
/* oklch */ color: oklch(42.7% 0.091 251.6);
Tailwind
colors: {
  custom: {
    50: '#6b81a4',
    500: '#25517f',
    950: '#000000',
  },
}
SCSS
$custom: #25517f;
$custom-light: #6b81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25517f",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 210.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.09092,
    "h": 251.6
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#25517F
secondary
#B1814F
accent
#964ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #25517F

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

Preview Lab → · Contrast checker → · Palette generator →

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