#25259D#25259D

#25259D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.186 H 272.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#25259D
RGBrgb(37, 37, 157)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 76%, 62%)
CMYKcmyk(76.4%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.16, 41.43, -64.14)
CIE-LCHlch(24.16, 76.36, 302.86°)
OKLaboklab(36.39% 0.0074 -0.1856)
OKLCHoklch(36.39% 0.186 272.3)
XYZxyz(7.5083, 4.1500, 32.2971)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25259D #9D9D25
analogous
#25619D #25259D #61259D
triadic
#25259D #9D2525 #259D25
tetradic
#25259D #9D2561 #9D9D25 #259D61
square
#25259D #9D2561 #9D9D25 #259D61
split-complementary
#25259D #9D6125 #619D25
monochromatic
#0E0E3A #19196B #25259D #3131CE #6262DA

Accessibility & contrast

On white

11.47
#25259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#25259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25259D
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25259D#FFFFFF#000000##FFFFFF
##25259D1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25259d;
/* rgb */ color: rgb(37, 37, 157);
/* oklch */ color: oklch(36.4% 0.186 272.3);
Tailwind
colors: {
  custom: {
    50: '#7561bb',
    500: '#25259d',
    950: '#000000',
  },
}
SCSS
$custom: #25259d;
$custom-light: #7561bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25259d",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.18579,
    "h": 272.3
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25259D

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

Preview Lab → · Contrast checker → · Palette generator →

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