#25319A#25319A

#25319A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.169 H 270.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#25319A
RGBrgb(37, 49, 154)
HSLhsl(234, 61%, 37%)
HSVhsv(234, 76%, 60%)
CMYKcmyk(76%, 68.2%, 0%, 39.6%)
CIE-LABlab(26.51, 33.03, -58.43)
CIE-LCHlch(26.51, 67.12, 299.48°)
OKLaboklab(37.99% 0.0017 -0.169)
OKLCHoklch(37.99% 0.169 270.6)
XYZxyz(7.6920, 4.9222, 31.1103)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25319A #9A8E25
analogous
#256C9A #25319A #53259A
triadic
#25319A #9A2531 #319A25
tetradic
#25319A #9A256C #9A8E25 #259A53
square
#25319A #9A256C #9A8E25 #259A53
split-complementary
#25319A #9A5325 #6C9A25
monochromatic
#0D1237 #192169 #25319A #3141CB #606DD9

Accessibility & contrast

On white

10.58
#25319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#25319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25319A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25319A#FFFFFF#000000##FFFFFF
##25319A1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25319a;
/* rgb */ color: rgb(37, 49, 154);
/* oklch */ color: oklch(38.0% 0.169 270.6);
Tailwind
colors: {
  custom: {
    50: '#7369b9',
    500: '#25319a',
    950: '#000000',
  },
}
SCSS
$custom: #25319a;
$custom-light: #7369b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25319a",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 233.846,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37985,
    "c": 0.16905,
    "h": 270.6
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#25319A
secondary
#BEB45D
accent
#D443E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #25319A

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

Preview Lab → · Contrast checker → · Palette generator →

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