#25517D#25517D

#25517D is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.088 H 250.7°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#25517D
RGBrgb(37, 81, 125)
HSLhsl(210, 54%, 32%)
HSVhsv(210, 70%, 49%)
CMYKcmyk(70.4%, 35.2%, 0%, 51%)
CIE-LABlab(33.47, 0.31, -29.34)
CIE-LCHlch(33.47, 29.34, 270.60°)
OKLaboklab(42.6% -0.0292 -0.0832)
OKLCHoklch(42.6% 0.088 250.7)
XYZxyz(7.4057, 7.7581, 20.5052)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25517D #7D5125
analogous
#257D7D #25517D #25257D
triadic
#25517D #7D2551 #517D25
tetradic
#25517D #7D257D #7D5125 #257D25
square
#25517D #7D257D #7D5125 #257D25
split-complementary
#25517D #7D2525 #7D7D25
monochromatic
#09141F #17324E #25517D #3370AC #518ECB

Accessibility & contrast

On white

8.23
#25517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#25517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25517D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25517D#FFFFFF#000000##FFFFFF
##25517D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #25517d;
/* rgb */ color: rgb(37, 81, 125);
/* oklch */ color: oklch(42.6% 0.088 250.7);
Tailwind
colors: {
  custom: {
    50: '#6a81a3',
    500: '#25517d',
    950: '#000000',
  },
}
SCSS
$custom: #25517d;
$custom-light: #6a81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25517d",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 210,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.08817,
    "h": 250.7
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#25517D
secondary
#AF7F4F
accent
#944ADE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #25517D

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

Preview Lab → · Contrast checker → · Palette generator →

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