#25319E#25319E

#25319E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.174 H 270.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#25319E
RGBrgb(37, 49, 158)
HSLhsl(234, 62%, 38%)
HSVhsv(234, 77%, 62%)
CMYKcmyk(76.6%, 69%, 0%, 38%)
CIE-LABlab(26.90, 34.50, -60.24)
CIE-LCHlch(26.90, 69.41, 299.80°)
OKLaboklab(38.38% 0.0013 -0.1743)
OKLCHoklch(38.38% 0.174 270.4)
XYZxyz(8.0307, 5.0577, 32.8941)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25319E #9E9225
analogous
#256D9E #25319E #56259E
triadic
#25319E #9E2531 #319E25
tetradic
#25319E #9E256D #9E9225 #259E56
square
#25319E #9E256D #9E9225 #259E56
split-complementary
#25319E #9E5625 #6D9E25
monochromatic
#0E123B #19226C #25319E #3141CF #636FDA

Accessibility & contrast

On white

10.44
#25319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#25319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25319E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25319E#FFFFFF#000000##FFFFFF
##25319E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25319e;
/* rgb */ color: rgb(37, 49, 158);
/* oklch */ color: oklch(38.4% 0.174 270.4);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#25319e',
    950: '#000000',
  },
}
SCSS
$custom: #25319e;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25319e",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 234.05,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.17432,
    "h": 270.4
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#25319E
secondary
#C0B65F
accent
#D543E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #25319E

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

Preview Lab → · Contrast checker → · Palette generator →

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