#25199C#25199C

#25199C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.195 H 273.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#25199C
RGBrgb(37, 25, 156)
HSLhsl(245, 72%, 35%)
HSVhsv(245, 84%, 61%)
CMYKcmyk(76.3%, 84%, 0%, 38.8%)
CIE-LABlab(21.90, 47.30, -67.27)
CIE-LCHlch(21.90, 82.24, 305.11°)
OKLaboklab(34.78% 0.012 -0.1945)
OKLCHoklch(34.78% 0.195 273.5)
XYZxyz(7.1093, 3.4881, 31.7446)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25199C #909C19
analogous
#194E9C #25199C #66199C
triadic
#25199C #9C2519 #199C25
tetradic
#25199C #9C194E #909C19 #199C66
square
#25199C #9C194E #909C19 #199C66
split-complementary
#25199C #9C6619 #4E9C19
monochromatic
#0C0833 #181167 #25199C #3221D1 #5B4DE2

Accessibility & contrast

On white

12.37
#25199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#25199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25199C
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25199C#FFFFFF#000000##FFFFFF
##25199C1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002E9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25199c;
/* rgb */ color: rgb(37, 25, 156);
/* oklch */ color: oklch(34.8% 0.195 273.5);
Tailwind
colors: {
  custom: {
    50: '#755bbb',
    500: '#25199c',
    950: '#000000',
  },
}
SCSS
$custom: #25199c;
$custom-light: #755bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#25199c",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 245.496,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34777,
    "c": 0.19492,
    "h": 273.5
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#25199C
secondary
#B9C44C
accent
#EF39DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25199C

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

Preview Lab → · Contrast checker → · Palette generator →

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