#25518B#25518B

#25518B is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.108 H 256.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#25518B
RGBrgb(37, 81, 139)
HSLhsl(214, 58%, 35%)
HSVhsv(214, 73%, 55%)
CMYKcmyk(73.4%, 41.7%, 0%, 45.5%)
CIE-LABlab(34.28, 5.69, -36.68)
CIE-LCHlch(34.28, 37.12, 278.82°)
OKLaboklab(43.48% -0.0255 -0.1047)
OKLCHoklch(43.48% 0.108 256.3)
XYZxyz(8.3639, 8.1414, 25.5517)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25518B #8B5F25
analogous
#25848B #25518B #2C258B
triadic
#25518B #8B2551 #518B25
tetradic
#25518B #8B2584 #8B5F25 #258B2C
square
#25518B #8B2584 #8B5F25 #258B2C
split-complementary
#25518B #8B2C25 #848B25
monochromatic
#0B192A #18355B #25518B #326DBB #588DD3

Accessibility & contrast

On white

7.99
#25518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#25518B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25518B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25518B#FFFFFF#000000##FFFFFF
##25518B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568D
Deuteranopia (green-blind)
#254C8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #25518b;
/* rgb */ color: rgb(37, 81, 139);
/* oklch */ color: oklch(43.5% 0.108 256.3);
Tailwind
colors: {
  custom: {
    50: '#6d81ad',
    500: '#25518b',
    950: '#000000',
  },
}
SCSS
$custom: #25518b;
$custom-light: #6d81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25518b",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 214.118,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.10774,
    "h": 256.3
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#25518B
secondary
#B78D55
accent
#9F47E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25518B

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

Preview Lab → · Contrast checker → · Palette generator →

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