#25319C#25319C

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

Color values

HEX#25319C
RGBrgb(37, 49, 156)
HSLhsl(234, 62%, 38%)
HSVhsv(234, 76%, 61%)
CMYKcmyk(76.3%, 68.6%, 0%, 38.8%)
CIE-LABlab(26.70, 33.77, -59.34)
CIE-LCHlch(26.70, 68.27, 299.64°)
OKLaboklab(38.18% 0.0015 -0.1717)
OKLCHoklch(38.18% 0.172 270.5)
XYZxyz(7.8600, 4.9894, 31.9949)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25319C #9C9025
analogous
#256C9C #25319C #55259C
triadic
#25319C #9C2531 #319C25
tetradic
#25319C #9C256C #9C9025 #259C55
square
#25319C #9C256C #9C9025 #259C55
split-complementary
#25319C #9C5525 #6C9C25
monochromatic
#0E1239 #19216B #25319C #3141CD #626EDA

Accessibility & contrast

On white

10.51
#25319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#25319C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25319C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25319C#FFFFFF#000000##FFFFFF
##25319C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25319c;
/* rgb */ color: rgb(37, 49, 156);
/* oklch */ color: oklch(38.2% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#7369ba',
    500: '#25319c',
    950: '#000000',
  },
}
SCSS
$custom: #25319c;
$custom-light: #7369ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25319c",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 233.95,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.17169,
    "h": 270.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25319C

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

Preview Lab → · Contrast checker → · Palette generator →

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