#25518C#25518C

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

Color values

HEX#25518C
RGBrgb(37, 81, 140)
HSLhsl(214, 58%, 35%)
HSVhsv(214, 74%, 55%)
CMYKcmyk(73.6%, 42.1%, 0%, 45.1%)
CIE-LABlab(34.34, 6.08, -37.20)
CIE-LCHlch(34.34, 37.69, 279.28°)
OKLaboklab(43.55% -0.0253 -0.1062)
OKLCHoklch(43.55% 0.109 256.6)
XYZxyz(8.4373, 8.1707, 25.9383)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25518C #8C6025
analogous
#25858C #25518C #2D258C
triadic
#25518C #8C2551 #518C25
tetradic
#25518C #8C2585 #8C6025 #258C2D
square
#25518C #8C2585 #8C6025 #258C2D
split-complementary
#25518C #8C2D25 #858C25
monochromatic
#0B192B #18355C #25518C #326DBC #588DD3

Accessibility & contrast

On white

7.97
#25518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25518C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25518C#FFFFFF#000000##FFFFFF
##25518C1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #25518c;
/* rgb */ color: rgb(37, 81, 140);
/* oklch */ color: oklch(43.6% 0.109 256.6);
Tailwind
colors: {
  custom: {
    50: '#6d81ae',
    500: '#25518c',
    950: '#000000',
  },
}
SCSS
$custom: #25518c;
$custom-light: #6d81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25518c",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 214.369,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43551,
    "c": 0.10915,
    "h": 256.6
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#25518C
secondary
#B88E55
accent
#9F46E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25518C

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

Preview Lab → · Contrast checker → · Palette generator →

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