#25509F#25509F

#25509F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.137 H 261.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#25509F
RGBrgb(37, 80, 159)
HSLhsl(219, 62%, 38%)
HSVhsv(219, 77%, 62%)
CMYKcmyk(76.7%, 49.7%, 0%, 37.6%)
CIE-LABlab(35.27, 14.17, -47.21)
CIE-LCHlch(35.27, 49.30, 286.71°)
OKLaboklab(44.67% -0.0208 -0.1357)
OKLCHoklch(44.67% 0.137 261.3)
XYZxyz(9.8874, 8.6327, 33.9394)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25509F #9F7425
analogous
#258D9F #25509F #37259F
triadic
#25509F #9F2550 #509F25
tetradic
#25509F #9F258D #9F7425 #259F37
square
#25509F #9F258D #9F7425 #259F37
split-complementary
#25509F #9F3725 #8D9F25
monochromatic
#0E1E3C #19376D #25509F #3269CF #648EDB

Accessibility & contrast

On white

7.70
#25509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#25509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25509F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25509F#FFFFFF#000000##FFFFFF
##25509F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #25509f;
/* rgb */ color: rgb(37, 80, 159);
/* oklch */ color: oklch(44.7% 0.137 261.3);
Tailwind
colors: {
  custom: {
    50: '#7280bc',
    500: '#25509f',
    950: '#000000',
  },
}
SCSS
$custom: #25509f;
$custom-light: #7280bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25509f",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 218.852,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.13725,
    "h": 261.3
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#25509F
secondary
#C09E5F
accent
#AC42E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25509F

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

Preview Lab → · Contrast checker → · Palette generator →

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