#25258D#25258D

#25258D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.166 H 273.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#25258D
RGBrgb(37, 37, 141)
HSLhsl(240, 58%, 35%)
HSVhsv(240, 74%, 55%)
CMYKcmyk(73.8%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.44, 35.92, -57.11)
CIE-LCHlch(22.44, 67.47, 302.16°)
OKLaboklab(34.65% 0.0103 -0.1652)
OKLCHoklch(34.65% 0.166 273.6)
XYZxyz(6.2306, 3.6389, 25.5682)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25258D #8D8D25
analogous
#25598D #25258D #59258D
triadic
#25258D #8D2525 #258D25
tetradic
#25258D #8D2559 #8D8D25 #258D59
square
#25258D #8D2559 #8D8D25 #258D59
split-complementary
#25258D #8D5925 #598D25
monochromatic
#0C0C2C #18185D #25258D #3232BD #5959D3

Accessibility & contrast

On white

12.15
#25258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#25258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25258D
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25258D#FFFFFF#000000##FFFFFF
##25258D1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25258d;
/* rgb */ color: rgb(37, 37, 141);
/* oklch */ color: oklch(34.7% 0.166 273.6);
Tailwind
colors: {
  custom: {
    50: '#7161af',
    500: '#25258d',
    950: '#000000',
  },
}
SCSS
$custom: #25258d;
$custom-light: #7161af;
$custom-dark: #000000;
JSON
{
  "hex": "#25258d",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.16551,
    "h": 273.6
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#25258D
secondary
#B8B856
accent
#E246E2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #25258D

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

Preview Lab → · Contrast checker → · Palette generator →

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