#25518F#25518F

#25518F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.113 H 257.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#25518F
RGBrgb(37, 81, 143)
HSLhsl(215, 59%, 35%)
HSVhsv(215, 74%, 56%)
CMYKcmyk(74.1%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.52, 7.25, -38.73)
CIE-LCHlch(34.52, 39.40, 280.60°)
OKLaboklab(43.75% -0.0246 -0.1107)
OKLCHoklch(43.75% 0.113 257.5)
XYZxyz(8.6615, 8.2604, 27.1192)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25518F #8F6325
analogous
#25868F #25518F #2E258F
triadic
#25518F #8F2551 #518F25
tetradic
#25518F #8F2586 #8F6325 #258F2E
square
#25518F #8F2586 #8F6325 #258F2E
split-complementary
#25518F #8F2E25 #868F25
monochromatic
#0C1A2E #18355E #25518F #326DC0 #5A8DD4

Accessibility & contrast

On white

7.92
#25518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#25518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25518F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25518F#FFFFFF#000000##FFFFFF
##25518F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #25518f;
/* rgb */ color: rgb(37, 81, 143);
/* oklch */ color: oklch(43.8% 0.113 257.5);
Tailwind
colors: {
  custom: {
    50: '#6e81b0',
    500: '#25518f',
    950: '#000000',
  },
}
SCSS
$custom: #25518f;
$custom-light: #6e81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25518f",
  "rgb": {
    "r": 37,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 215.094,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.11341,
    "h": 257.5
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#25518F
secondary
#B99057
accent
#A146E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25518F

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

Preview Lab → · Contrast checker → · Palette generator →

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