#25508B#25508B

#25508B is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.2% C 0.109 H 257.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#25508B
RGBrgb(37, 80, 139)
HSLhsl(215, 58%, 35%)
HSVhsv(215, 73%, 55%)
CMYKcmyk(73.4%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.97, 6.35, -37.17)
CIE-LCHlch(33.97, 37.71, 279.70°)
OKLaboklab(43.25% -0.0245 -0.1061)
OKLCHoklch(43.25% 0.109 257)
XYZxyz(8.2901, 7.9938, 25.5271)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25508B #8B6025
analogous
#25838B #25508B #2D258B
triadic
#25508B #8B2550 #508B25
tetradic
#25508B #8B2583 #8B6025 #258B2D
square
#25508B #8B2583 #8B6025 #258B2D
split-complementary
#25508B #8B2D25 #838B25
monochromatic
#0B182A #18345B #25508B #326CBB #588CD3

Accessibility & contrast

On white

8.08
#25508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#25508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25508B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25508B#FFFFFF#000000##FFFFFF
##25508B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#234C8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #25508b;
/* rgb */ color: rgb(37, 80, 139);
/* oklch */ color: oklch(43.2% 0.109 257.0);
Tailwind
colors: {
  custom: {
    50: '#6d80ad',
    500: '#25508b',
    950: '#000000',
  },
}
SCSS
$custom: #25508b;
$custom-light: #6d80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25508b",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 214.706,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.10892,
    "h": 257
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#25508B
secondary
#B78E55
accent
#A047E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25508B

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

Preview Lab → · Contrast checker → · Palette generator →

#25508B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva