#25509C#25509C

#25509C is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.133 H 260.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#25509C
RGBrgb(37, 80, 156)
HSLhsl(218, 62%, 38%)
HSVhsv(218, 76%, 61%)
CMYKcmyk(76.3%, 48.7%, 0%, 38.8%)
CIE-LABlab(35.06, 13.00, -45.74)
CIE-LCHlch(35.06, 47.55, 285.86°)
OKLaboklab(44.44% -0.0212 -0.1313)
OKLCHoklch(44.44% 0.133 260.8)
XYZxyz(9.6302, 8.5299, 32.5849)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25509C #9C7125
analogous
#258C9C #25509C #35259C
triadic
#25509C #9C2550 #509C25
tetradic
#25509C #9C258C #9C7125 #259C35
square
#25509C #9C258C #9C7125 #259C35
split-complementary
#25509C #9C3525 #8C9C25
monochromatic
#0E1D39 #19376B #25509C #3169CD #628DDA

Accessibility & contrast

On white

7.76
#25509C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25509C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25509C#FFFFFF#000000##FFFFFF
##25509C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #25509c;
/* rgb */ color: rgb(37, 80, 156);
/* oklch */ color: oklch(44.4% 0.133 260.8);
Tailwind
colors: {
  custom: {
    50: '#7180ba',
    500: '#25509c',
    950: '#000000',
  },
}
SCSS
$custom: #25509c;
$custom-light: #7180ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25509c",
  "rgb": {
    "r": 37,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 218.319,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.13303,
    "h": 260.8
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#25509C
secondary
#BF9C5E
accent
#AA43E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25509C

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

Preview Lab → · Contrast checker → · Palette generator →

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