#25239A#25239A

#25239A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.184 H 272.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#25239A
RGBrgb(37, 35, 154)
HSLhsl(241, 63%, 37%)
HSVhsv(241, 77%, 60%)
CMYKcmyk(76%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.43, 41.55, -63.51)
CIE-LCHlch(23.43, 75.89, 303.19°)
OKLaboklab(35.78% 0.0089 -0.1838)
OKLCHoklch(35.78% 0.184 272.8)
XYZxyz(7.1948, 3.9277, 30.9445)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25239A #989A23
analogous
#235D9A #25239A #60239A
triadic
#25239A #9A2523 #239A25
tetradic
#25239A #9A235D #989A23 #239A60
square
#25239A #9A235D #989A23 #239A60
split-complementary
#25239A #9A6023 #5D9A23
monochromatic
#0D0C36 #191868 #25239A #312ECC #5F5DDA

Accessibility & contrast

On white

11.76
#25239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25239A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25239A#FFFFFF#000000##FFFFFF
##25239A1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25239a;
/* rgb */ color: rgb(37, 35, 154);
/* oklch */ color: oklch(35.8% 0.184 272.8);
Tailwind
colors: {
  custom: {
    50: '#7460b9',
    500: '#25239a',
    950: '#000000',
  },
}
SCSS
$custom: #25239a;
$custom-light: #7460b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25239a",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 241.008,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35776,
    "c": 0.184,
    "h": 272.8
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25239A

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

Preview Lab → · Contrast checker → · Palette generator →

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