#25258A#25258A

#25258A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.162 H 273.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#25258A
RGBrgb(37, 37, 138)
HSLhsl(240, 58%, 34%)
HSVhsv(240, 73%, 54%)
CMYKcmyk(73.2%, 73.2%, 0%, 45.9%)
CIE-LABlab(22.13, 34.86, -55.76)
CIE-LCHlch(22.13, 65.76, 302.01°)
OKLaboklab(34.34% 0.0108 -0.1612)
OKLCHoklch(34.34% 0.162 273.8)
XYZxyz(6.0104, 3.5508, 24.4085)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25258A #8A8A25
analogous
#25588A #25258A #58258A
triadic
#25258A #8A2525 #258A25
tetradic
#25258A #8A2558 #8A8A25 #258A58
square
#25258A #8A2558 #8A8A25 #258A58
split-complementary
#25258A #8A5825 #588A25
monochromatic
#0B0B29 #18185A #25258A #3232BA #5757D2

Accessibility & contrast

On white

12.28
#25258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#25258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25258A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25258A#FFFFFF#000000##FFFFFF
##25258A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25258a;
/* rgb */ color: rgb(37, 37, 138);
/* oklch */ color: oklch(34.3% 0.162 273.8);
Tailwind
colors: {
  custom: {
    50: '#7060ad',
    500: '#25258a',
    950: '#000000',
  },
}
SCSS
$custom: #25258a;
$custom-light: #7060ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25258a",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34337,
    "c": 0.1616,
    "h": 273.8
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#25258A
secondary
#B7B754
accent
#E147E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25258A

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

Preview Lab → · Contrast checker → · Palette generator →

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