#25518D#25518D

#25518D is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.111 H 256.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#25518D
RGBrgb(37, 81, 141)
HSLhsl(215, 58%, 35%)
HSVhsv(215, 74%, 55%)
CMYKcmyk(73.8%, 42.6%, 0%, 44.7%)
CIE-LABlab(34.40, 6.47, -37.71)
CIE-LCHlch(34.40, 38.26, 279.73°)
OKLaboklab(43.62% -0.025 -0.1077)
OKLCHoklch(43.62% 0.111 256.9)
XYZxyz(8.5113, 8.2003, 26.3284)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25518D #8D6125
analogous
#25858D #25518D #2D258D
triadic
#25518D #8D2551 #518D25
tetradic
#25518D #8D2585 #8D6125 #258D2D
square
#25518D #8D2585 #8D6125 #258D2D
split-complementary
#25518D #8D2D25 #858D25
monochromatic
#0C192C #18355D #25518D #326DBD #598DD3

Accessibility & contrast

On white

7.95
#25518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#25518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25518D
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25518D#FFFFFF#000000##FFFFFF
##25518D1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #25518d;
/* rgb */ color: rgb(37, 81, 141);
/* oklch */ color: oklch(43.6% 0.111 256.9);
Tailwind
colors: {
  custom: {
    50: '#6e81af',
    500: '#25518d',
    950: '#000000',
  },
}
SCSS
$custom: #25518d;
$custom-light: #6e81af;
$custom-dark: #000000;
JSON
{
  "hex": "#25518d",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 214.615,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.11057,
    "h": 256.9
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#25518D
secondary
#B88E56
accent
#A046E2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25518D

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

Preview Lab → · Contrast checker → · Palette generator →

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