#25255B#25255B

#25255B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.094 H 279.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#25255B
RGBrgb(37, 37, 91)
HSLhsl(240, 42%, 25%)
HSVhsv(240, 59%, 36%)
CMYKcmyk(59.3%, 59.3%, 0%, 64.3%)
CIE-LABlab(17.79, 17.67, -32.57)
CIE-LCHlch(17.79, 37.05, 298.49°)
OKLaboklab(29.84% 0.0148 -0.0932)
OKLCHoklch(29.84% 0.094 279)
XYZxyz(3.3123, 2.4716, 10.1980)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25255B #5B5B25
analogous
#25405B #25255B #40255B
triadic
#25255B #5B2525 #255B25
tetradic
#25255B #5B2540 #5B5B25 #255B40
square
#25255B #5B2540 #5B5B25 #255B40
split-complementary
#25255B #5B4025 #405B25
monochromatic
#090916 #13132F #25255B #373787 #4848B2

Accessibility & contrast

On white

14.05
#25255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#25255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25255B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25255B#FFFFFF#000000##FFFFFF
##25255B1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#0A313C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25255b;
/* rgb */ color: rgb(37, 37, 91);
/* oklch */ color: oklch(29.8% 0.094 279.0);
Tailwind
colors: {
  custom: {
    50: '#655f8a',
    500: '#25255b',
    950: '#000000',
  },
}
SCSS
$custom: #25255b;
$custom-light: #655f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#25255b",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 240,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.09442,
    "h": 279
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#25255B
secondary
#8E8E4D
accent
#D256D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #25255B

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

Preview Lab → · Contrast checker → · Palette generator →

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