#25239D#25239D

#25239D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.188 H 272.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#25239D
RGBrgb(37, 35, 157)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(76.4%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.77, 42.55, -64.79)
CIE-LCHlch(23.77, 77.51, 303.29°)
OKLaboklab(36.11% 0.0082 -0.1875)
OKLCHoklch(36.11% 0.188 272.5)
XYZxyz(7.4477, 4.0289, 32.2769)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25239D #9B9D23
analogous
#235E9D #25239D #62239D
triadic
#25239D #9D2523 #239D25
tetradic
#25239D #9D235E #9B9D23 #239D62
square
#25239D #9D235E #9B9D23 #239D62
split-complementary
#25239D #9D6223 #5E9D23
monochromatic
#0D0D39 #19186B #25239D #312ECF #615FDB

Accessibility & contrast

On white

11.63
#25239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25239D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25239D#FFFFFF#000000##FFFFFF
##25239D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25239d;
/* rgb */ color: rgb(37, 35, 157);
/* oklch */ color: oklch(36.1% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#7560bb',
    500: '#25239d',
    950: '#000000',
  },
}
SCSS
$custom: #25239d;
$custom-light: #7560bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25239d",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 240.984,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.1877,
    "h": 272.5
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#25239D
secondary
#BFC05C
accent
#E741E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25239D

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

Preview Lab → · Contrast checker → · Palette generator →

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