#25259B#25259B

#25259B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.183 H 272.4°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#25259B
RGBrgb(37, 37, 155)
HSLhsl(240, 61%, 38%)
HSVhsv(240, 76%, 61%)
CMYKcmyk(76.1%, 76.1%, 0%, 39.2%)
CIE-LABlab(23.94, 40.75, -63.28)
CIE-LCHlch(23.94, 75.27, 302.78°)
OKLaboklab(36.17% 0.0078 -0.1831)
OKLCHoklch(36.17% 0.183 272.4)
XYZxyz(7.3389, 4.0822, 31.4052)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25259B #9B9B25
analogous
#25609B #25259B #60259B
triadic
#25259B #9B2525 #259B25
tetradic
#25259B #9B2560 #9B9B25 #259B60
square
#25259B #9B2560 #9B9B25 #259B60
split-complementary
#25259B #9B6025 #609B25
monochromatic
#0D0D38 #19196A #25259B #3131CC #6161D9

Accessibility & contrast

On white

11.56
#25259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25259B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25259B#FFFFFF#000000##FFFFFF
##25259B1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25259b;
/* rgb */ color: rgb(37, 37, 155);
/* oklch */ color: oklch(36.2% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#25259b',
    950: '#000000',
  },
}
SCSS
$custom: #25259b;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25259b",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.18331,
    "h": 272.4
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#25259B
secondary
#BFBF5D
accent
#E543E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25259B

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

Preview Lab → · Contrast checker → · Palette generator →

#25259B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva