#25259F#25259F

#25259F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.188 H 272.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#25259F
RGBrgb(37, 37, 159)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(76.7%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.38, 42.10, -64.99)
CIE-LCHlch(24.38, 77.44, 302.94°)
OKLaboklab(36.61% 0.007 -0.1881)
OKLCHoklch(36.61% 0.188 272.1)
XYZxyz(7.6804, 4.2188, 33.2037)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25259F #9F9F25
analogous
#25629F #25259F #62259F
triadic
#25259F #9F2525 #259F25
tetradic
#25259F #9F2562 #9F9F25 #259F62
square
#25259F #9F2562 #9F9F25 #259F62
split-complementary
#25259F #9F6225 #629F25
monochromatic
#0E0E3C #19196D #25259F #3232CF #6464DB

Accessibility & contrast

On white

11.39
#25259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25259F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25259F#FFFFFF#000000##FFFFFF
##25259F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25259f;
/* rgb */ color: rgb(37, 37, 159);
/* oklch */ color: oklch(36.6% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#25259f',
    950: '#000000',
  },
}
SCSS
$custom: #25259f;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25259f",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36612,
    "c": 0.18826,
    "h": 272.1
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25259F

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

Preview Lab → · Contrast checker → · Palette generator →

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