#25319B#25319B

#25319B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.170 H 270.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#25319B
RGBrgb(37, 49, 155)
HSLhsl(234, 61%, 38%)
HSVhsv(234, 76%, 61%)
CMYKcmyk(76.1%, 68.4%, 0%, 39.2%)
CIE-LABlab(26.61, 33.40, -58.88)
CIE-LCHlch(26.61, 67.70, 299.56°)
OKLaboklab(38.08% 0.0016 -0.1704)
OKLCHoklch(38.08% 0.17 270.5)
XYZxyz(7.7756, 4.9557, 31.5507)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25319B #9B8F25
analogous
#256C9B #25319B #54259B
triadic
#25319B #9B2531 #319B25
tetradic
#25319B #9B256C #9B8F25 #259B54
square
#25319B #9B256C #9B8F25 #259B54
split-complementary
#25319B #9B5425 #6C9B25
monochromatic
#0D1238 #19216A #25319B #3141CC #616DD9

Accessibility & contrast

On white

10.55
#25319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#25319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25319B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25319B#FFFFFF#000000##FFFFFF
##25319B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25319b;
/* rgb */ color: rgb(37, 49, 155);
/* oklch */ color: oklch(38.1% 0.170 270.5);
Tailwind
colors: {
  custom: {
    50: '#7369ba',
    500: '#25319b',
    950: '#000000',
  },
}
SCSS
$custom: #25319b;
$custom-light: #7369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25319b",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 233.898,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.17037,
    "h": 270.5
  },
  "luminance": 0.04956
}

Semantic roles & 50–950 ramp

primary
#25319B
secondary
#BFB55D
accent
#D443E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25319B

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

Preview Lab → · Contrast checker → · Palette generator →

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