#25507F#25507F

#25507F is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.092 H 252.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#25507F
RGBrgb(37, 80, 127)
HSLhsl(211, 55%, 32%)
HSVhsv(211, 71%, 50%)
CMYKcmyk(70.9%, 37%, 0%, 50.2%)
CIE-LABlab(33.27, 1.72, -30.90)
CIE-LCHlch(33.27, 30.95, 273.18°)
OKLaboklab(42.47% -0.0275 -0.0878)
OKLCHoklch(42.47% 0.092 252.6)
XYZxyz(7.4610, 7.6622, 21.1603)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25507F #7F5425
analogous
#257D7F #25507F #27257F
triadic
#25507F #7F2550 #507F25
tetradic
#25507F #7F257D #7F5425 #257F27
square
#25507F #7F257D #7F5425 #257F27
split-complementary
#25507F #7F2725 #7D7F25
monochromatic
#091420 #173250 #25507F #336EAE #528CCD

Accessibility & contrast

On white

8.29
#25507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#25507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25507F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25507F#FFFFFF#000000##FFFFFF
##25507F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #25507f;
/* rgb */ color: rgb(37, 80, 127);
/* oklch */ color: oklch(42.5% 0.092 252.6);
Tailwind
colors: {
  custom: {
    50: '#6b80a4',
    500: '#25507f',
    950: '#000000',
  },
}
SCSS
$custom: #25507f;
$custom-light: #6b80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25507f",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 211.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.09198,
    "h": 252.6
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#25507F
secondary
#B1824F
accent
#974ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #25507F

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

Preview Lab → · Contrast checker → · Palette generator →

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