#25509E#25509E

#25509E is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.136 H 261.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#25509E
RGBrgb(37, 80, 158)
HSLhsl(219, 62%, 38%)
HSVhsv(219, 77%, 62%)
CMYKcmyk(76.6%, 49.4%, 0%, 38%)
CIE-LABlab(35.20, 13.78, -46.72)
CIE-LCHlch(35.20, 48.71, 286.43°)
OKLaboklab(44.59% -0.0209 -0.1342)
OKLCHoklch(44.59% 0.136 261.1)
XYZxyz(9.8009, 8.5982, 33.4842)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25509E #9E7325
analogous
#258C9E #25509E #37259E
triadic
#25509E #9E2550 #509E25
tetradic
#25509E #9E258C #9E7325 #259E37
square
#25509E #9E258C #9E7325 #259E37
split-complementary
#25509E #9E3725 #8C9E25
monochromatic
#0E1E3B #19376C #25509E #3169CF #638DDA

Accessibility & contrast

On white

7.72
#25509E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#25509E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25509E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25509E#FFFFFF#000000##FFFFFF
##25509E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #25509e;
/* rgb */ color: rgb(37, 80, 158);
/* oklch */ color: oklch(44.6% 0.136 261.1);
Tailwind
colors: {
  custom: {
    50: '#7180bb',
    500: '#25509e',
    950: '#000000',
  },
}
SCSS
$custom: #25509e;
$custom-light: #7180bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25509e",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 218.678,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.13585,
    "h": 261.1
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#25509E
secondary
#C09D5F
accent
#AB43E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25509E

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

Preview Lab → · Contrast checker → · Palette generator →

#25509E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva