#25239E#25239E

#25239E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.189 H 272.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#25239E
RGBrgb(37, 35, 158)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(76.6%, 77.8%, 0%, 38%)
CIE-LABlab(23.88, 42.88, -65.22)
CIE-LCHlch(23.88, 78.05, 303.33°)
OKLaboklab(36.22% 0.008 -0.1887)
OKLCHoklch(36.22% 0.189 272.4)
XYZxyz(7.5335, 4.0632, 32.7284)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25239E #9C9E23
analogous
#235E9E #25239E #63239E
triadic
#25239E #9E2523 #239E25
tetradic
#25239E #9E235E #9C9E23 #239E63
square
#25239E #9E235E #9C9E23 #239E63
split-complementary
#25239E #9E6323 #5E9E23
monochromatic
#0E0D3A #19186C #25239E #312ED0 #6260DC

Accessibility & contrast

On white

11.58
#25239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#25239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25239E
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25239E#FFFFFF#000000##FFFFFF
##25239E1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25239e;
/* rgb */ color: rgb(37, 35, 158);
/* oklch */ color: oklch(36.2% 0.189 272.4);
Tailwind
colors: {
  custom: {
    50: '#7560bc',
    500: '#25239e',
    950: '#000000',
  },
}
SCSS
$custom: #25239e;
$custom-light: #7560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25239e",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 240.976,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36224,
    "c": 0.18892,
    "h": 272.4
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#25239E
secondary
#BFC15C
accent
#E741E4
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25239E

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

Preview Lab → · Contrast checker → · Palette generator →

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