#25239B#25239B

#25239B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.185 H 272.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#25239B
RGBrgb(37, 35, 155)
HSLhsl(241, 63%, 37%)
HSVhsv(241, 77%, 61%)
CMYKcmyk(76.1%, 77.4%, 0%, 39.2%)
CIE-LABlab(23.54, 41.88, -63.94)
CIE-LCHlch(23.54, 76.43, 303.23°)
OKLaboklab(35.89% 0.0087 -0.185)
OKLCHoklch(35.89% 0.185 272.7)
XYZxyz(7.2784, 3.9612, 31.3850)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25239B #999B23
analogous
#235D9B #25239B #61239B
triadic
#25239B #9B2523 #239B25
tetradic
#25239B #9B235D #999B23 #239B61
square
#25239B #9B235D #999B23 #239B61
split-complementary
#25239B #9B6123 #5D9B23
monochromatic
#0D0C37 #191869 #25239B #312ECD #605EDB

Accessibility & contrast

On white

11.72
#25239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#25239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25239B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25239B#FFFFFF#000000##FFFFFF
##25239B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25239b;
/* rgb */ color: rgb(37, 35, 155);
/* oklch */ color: oklch(35.9% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#25239b',
    950: '#000000',
  },
}
SCSS
$custom: #25239b;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25239b",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 241,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.18524,
    "h": 272.7
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#25239B
secondary
#BEBF5A
accent
#E642E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25239B

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

Preview Lab → · Contrast checker → · Palette generator →

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