#25199B#25199B

#25199B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.194 H 273.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#25199B
RGBrgb(37, 25, 155)
HSLhsl(246, 72%, 35%)
HSVhsv(246, 84%, 61%)
CMYKcmyk(76.1%, 83.9%, 0%, 39.2%)
CIE-LABlab(21.78, 46.99, -66.86)
CIE-LCHlch(21.78, 81.72, 305.10°)
OKLaboklab(34.66% 0.0122 -0.1934)
OKLCHoklch(34.66% 0.194 273.6)
XYZxyz(7.0250, 3.4544, 31.3005)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25199B #8F9B19
analogous
#194E9B #25199B #66199B
triadic
#25199B #9B2519 #199B25
tetradic
#25199B #9B194E #8F9B19 #199B66
square
#25199B #9B194E #8F9B19 #199B66
split-complementary
#25199B #9B6619 #4E9B19
monochromatic
#0C0832 #181166 #25199B #3222D0 #5A4CE2

Accessibility & contrast

On white

12.42
#25199B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#25199B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25199B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25199B#FFFFFF#000000##FFFFFF
##25199B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25199b;
/* rgb */ color: rgb(37, 25, 155);
/* oklch */ color: oklch(34.7% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#755aba',
    500: '#25199b',
    950: '#000000',
  },
}
SCSS
$custom: #25199b;
$custom-light: #755aba;
$custom-dark: #000000;
JSON
{
  "hex": "#25199b",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 245.538,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34657,
    "c": 0.19376,
    "h": 273.6
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25199B

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

Preview Lab → · Contrast checker → · Palette generator →

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