#25518A#25518A

#25518A is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.106 H 256.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#25518A
RGBrgb(37, 81, 138)
HSLhsl(214, 58%, 34%)
HSVhsv(214, 73%, 54%)
CMYKcmyk(73.2%, 41.3%, 0%, 45.9%)
CIE-LABlab(34.22, 5.30, -36.16)
CIE-LCHlch(34.22, 36.55, 278.34°)
OKLaboklab(43.42% -0.0257 -0.1032)
OKLCHoklch(43.42% 0.106 256)
XYZxyz(8.2911, 8.1123, 25.1687)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25518A #8A5E25
analogous
#25848A #25518A #2B258A
triadic
#25518A #8A2551 #518A25
tetradic
#25518A #8A2584 #8A5E25 #258A2B
square
#25518A #8A2584 #8A5E25 #258A2B
split-complementary
#25518A #8A2B25 #848A25
monochromatic
#0B1829 #18355A #25518A #326DBA #578DD2

Accessibility & contrast

On white

8.01
#25518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#25518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25518A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25518A#FFFFFF#000000##FFFFFF
##25518A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568C
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #25518a;
/* rgb */ color: rgb(37, 81, 138);
/* oklch */ color: oklch(43.4% 0.106 256.0);
Tailwind
colors: {
  custom: {
    50: '#6d81ac',
    500: '#25518a',
    950: '#000000',
  },
}
SCSS
$custom: #25518a;
$custom-light: #6d81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#25518a",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 213.861,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.10633,
    "h": 256
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#25518A
secondary
#B78C54
accent
#9E47E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25518A

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

Preview Lab → · Contrast checker → · Palette generator →

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