#25509D#25509D

#25509D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.134 H 261.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#25509D
RGBrgb(37, 80, 157)
HSLhsl(219, 62%, 38%)
HSVhsv(219, 76%, 62%)
CMYKcmyk(76.4%, 49%, 0%, 38.4%)
CIE-LABlab(35.13, 13.39, -46.23)
CIE-LCHlch(35.13, 48.13, 286.15°)
OKLaboklab(44.52% -0.0211 -0.1328)
OKLCHoklch(44.52% 0.134 261)
XYZxyz(9.7152, 8.5639, 33.0327)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25509D #9D7225
analogous
#258C9D #25509D #36259D
triadic
#25509D #9D2550 #509D25
tetradic
#25509D #9D258C #9D7225 #259D36
square
#25509D #9D258C #9D7225 #259D36
split-complementary
#25509D #9D3625 #8C9D25
monochromatic
#0E1E3A #19376B #25509D #3169CE #628DDA

Accessibility & contrast

On white

7.74
#25509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#25509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25509D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25509D#FFFFFF#000000##FFFFFF
##25509D1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2558A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #25509d;
/* rgb */ color: rgb(37, 80, 157);
/* oklch */ color: oklch(44.5% 0.134 261.0);
Tailwind
colors: {
  custom: {
    50: '#7180ba',
    500: '#25509d',
    950: '#000000',
  },
}
SCSS
$custom: #25509d;
$custom-light: #7180ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25509d",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 218.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.13444,
    "h": 261
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25509D

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

Preview Lab → · Contrast checker → · Palette generator →

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