#25517C#25517C

#25517C is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.087 H 250.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#25517C
RGBrgb(37, 81, 124)
HSLhsl(210, 54%, 32%)
HSVhsv(210, 70%, 49%)
CMYKcmyk(70.2%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.42, -0.07, -28.81)
CIE-LCHlch(33.42, 28.81, 269.86°)
OKLaboklab(42.54% -0.0295 -0.0816)
OKLCHoklch(42.54% 0.087 250.1)
XYZxyz(7.3421, 7.7326, 20.1705)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25517C #7C5025
analogous
#257C7C #25517C #25267C
triadic
#25517C #7C2551 #517C25
tetradic
#25517C #7C257C #7C5025 #267C25
square
#25517C #7C257C #7C5025 #267C25
split-complementary
#25517C #7C2526 #7C7C25
monochromatic
#09131E #17324D #25517C #3370AB #508ECB

Accessibility & contrast

On white

8.25
#25517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25517C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25517C#FFFFFF#000000##FFFFFF
##25517C1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #25517c;
/* rgb */ color: rgb(37, 81, 124);
/* oklch */ color: oklch(42.5% 0.087 250.1);
Tailwind
colors: {
  custom: {
    50: '#6a81a2',
    500: '#25517c',
    950: '#000000',
  },
}
SCSS
$custom: #25517c;
$custom-light: #6a81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25517c",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 209.655,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.0868,
    "h": 250.1
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#25517C
secondary
#AE7E4F
accent
#934ADD
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #25517C

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

Preview Lab → · Contrast checker → · Palette generator →

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