#25258B#25258B

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

Color values

HEX#25258B
RGBrgb(37, 37, 139)
HSLhsl(240, 58%, 35%)
HSVhsv(240, 73%, 55%)
CMYKcmyk(73.4%, 73.4%, 0%, 45.5%)
CIE-LABlab(22.23, 35.21, -56.21)
CIE-LCHlch(22.23, 66.33, 302.07°)
OKLaboklab(34.44% 0.0107 -0.1626)
OKLCHoklch(34.44% 0.163 273.8)
XYZxyz(6.0832, 3.5799, 24.7915)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25258B #8B8B25
analogous
#25588B #25258B #58258B
triadic
#25258B #8B2525 #258B25
tetradic
#25258B #8B2558 #8B8B25 #258B58
square
#25258B #8B2558 #8B8B25 #258B58
split-complementary
#25258B #8B5825 #588B25
monochromatic
#0B0B2A #18185B #25258B #3232BB #5858D3

Accessibility & contrast

On white

12.24
#25258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#25258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25258B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25258B#FFFFFF#000000##FFFFFF
##25258B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25258b;
/* rgb */ color: rgb(37, 37, 139);
/* oklch */ color: oklch(34.4% 0.163 273.8);
Tailwind
colors: {
  custom: {
    50: '#7060ae',
    500: '#25258b',
    950: '#000000',
  },
}
SCSS
$custom: #25258b;
$custom-light: #7060ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25258b",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34442,
    "c": 0.16291,
    "h": 273.8
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25258B

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

Preview Lab → · Contrast checker → · Palette generator →

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