#25239C#25239C

#25239C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.186 H 272.6°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#25239C
RGBrgb(37, 35, 156)
HSLhsl(241, 63%, 37%)
HSVhsv(241, 78%, 61%)
CMYKcmyk(76.3%, 77.6%, 0%, 38.8%)
CIE-LABlab(23.65, 42.22, -64.36)
CIE-LCHlch(23.65, 76.97, 303.26°)
OKLaboklab(36% 0.0084 -0.1863)
OKLCHoklch(36% 0.186 272.6)
XYZxyz(7.3627, 3.9949, 31.8291)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25239C #9A9C23
analogous
#235D9C #25239C #62239C
triadic
#25239C #9C2523 #239C25
tetradic
#25239C #9C235D #9A9C23 #239C62
square
#25239C #9C235D #9A9C23 #239C62
split-complementary
#25239C #9C6223 #5D9C23
monochromatic
#0D0D38 #19186A #25239C #312ECE #605EDB

Accessibility & contrast

On white

11.67
#25239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#25239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25239C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25239C#FFFFFF#000000##FFFFFF
##25239C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25239c;
/* rgb */ color: rgb(37, 35, 156);
/* oklch */ color: oklch(36.0% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#25239c',
    950: '#000000',
  },
}
SCSS
$custom: #25239c;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25239c",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 240.992,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36,
    "c": 0.18647,
    "h": 272.6
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#25239C
secondary
#BEC05B
accent
#E641E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25239C

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

Preview Lab → · Contrast checker → · Palette generator →

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