#25259A#25259A

#25259A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.182 H 272.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#25259A
RGBrgb(37, 37, 154)
HSLhsl(240, 61%, 37%)
HSVhsv(240, 76%, 60%)
CMYKcmyk(76%, 76%, 0%, 39.6%)
CIE-LABlab(23.83, 40.41, -62.85)
CIE-LCHlch(23.83, 74.72, 302.74°)
OKLaboklab(36.06% 0.008 -0.1819)
OKLCHoklch(36.06% 0.182 272.5)
XYZxyz(7.2553, 4.0488, 30.9647)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25259A #9A9A25
analogous
#25609A #25259A #60259A
triadic
#25259A #9A2525 #259A25
tetradic
#25259A #9A2560 #9A9A25 #259A60
square
#25259A #9A2560 #9A9A25 #259A60
split-complementary
#25259A #9A6025 #609A25
monochromatic
#0D0D37 #191969 #25259A #3131CB #6060D9

Accessibility & contrast

On white

11.60
#25259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#25259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25259A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25259A#FFFFFF#000000##FFFFFF
##25259A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25259a;
/* rgb */ color: rgb(37, 37, 154);
/* oklch */ color: oklch(36.1% 0.182 272.5);
Tailwind
colors: {
  custom: {
    50: '#7461b9',
    500: '#25259a',
    950: '#000000',
  },
}
SCSS
$custom: #25259a;
$custom-light: #7461b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25259a",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3606,
    "c": 0.18206,
    "h": 272.5
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#25259A
secondary
#BEBE5D
accent
#E443E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25259A

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

Preview Lab → · Contrast checker → · Palette generator →

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