#25259E#25259E

#25259E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.187 H 272.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#25259E
RGBrgb(37, 37, 158)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(76.6%, 76.6%, 0%, 38%)
CIE-LABlab(24.27, 41.77, -64.57)
CIE-LCHlch(24.27, 76.90, 302.90°)
OKLaboklab(36.5% 0.0072 -0.1869)
OKLCHoklch(36.5% 0.187 272.2)
XYZxyz(7.5940, 4.1843, 32.7485)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25259E #9E9E25
analogous
#25619E #25259E #61259E
triadic
#25259E #9E2525 #259E25
tetradic
#25259E #9E2561 #9E9E25 #259E61
square
#25259E #9E2561 #9E9E25 #259E61
split-complementary
#25259E #9E6125 #619E25
monochromatic
#0E0E3B #19196C #25259E #3131CF #6363DA

Accessibility & contrast

On white

11.43
#25259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#25259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25259E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25259E#FFFFFF#000000##FFFFFF
##25259E1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25259e;
/* rgb */ color: rgb(37, 37, 158);
/* oklch */ color: oklch(36.5% 0.187 272.2);
Tailwind
colors: {
  custom: {
    50: '#7561bc',
    500: '#25259e',
    950: '#000000',
  },
}
SCSS
$custom: #25259e;
$custom-light: #7561bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25259e",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.18703,
    "h": 272.2
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#25259E
secondary
#C0C05F
accent
#E543E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25259E

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

Preview Lab → · Contrast checker → · Palette generator →

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