#25508F#25508F

#25508F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.115 H 258.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#25508F
RGBrgb(37, 80, 143)
HSLhsl(216, 59%, 35%)
HSVhsv(216, 74%, 56%)
CMYKcmyk(74.1%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.22, 7.91, -39.22)
CIE-LCHlch(34.22, 40.01, 281.40°)
OKLaboklab(43.52% -0.0236 -0.1121)
OKLCHoklch(43.52% 0.115 258.1)
XYZxyz(8.5877, 8.1129, 27.0946)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25508F #8F6425
analogous
#25858F #25508F #2F258F
triadic
#25508F #8F2550 #508F25
tetradic
#25508F #8F2585 #8F6425 #258F2F
square
#25508F #8F2585 #8F6425 #258F2F
split-complementary
#25508F #8F2F25 #858F25
monochromatic
#0C1A2E #18355E #25508F #326BC0 #5A8CD4

Accessibility & contrast

On white

8.01
#25508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#25508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25508F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25508F#FFFFFF#000000##FFFFFF
##25508F1.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)
#315691
Deuteranopia (green-blind)
#1E4C8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #25508f;
/* rgb */ color: rgb(37, 80, 143);
/* oklch */ color: oklch(43.5% 0.115 258.1);
Tailwind
colors: {
  custom: {
    50: '#6e80b0',
    500: '#25508f',
    950: '#000000',
  },
}
SCSS
$custom: #25508f;
$custom-light: #6e80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25508f",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 215.66,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.11461,
    "h": 258.1
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#25508F
secondary
#B99157
accent
#A346E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25508F

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

Preview Lab → · Contrast checker → · Palette generator →

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