#25199F#25199F

#25199F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.198 H 273.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#25199F
RGBrgb(37, 25, 159)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(76.7%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.27, 48.22, -68.49)
CIE-LCHlch(22.27, 83.77, 305.15°)
OKLaboklab(35.14% 0.0111 -0.1981)
OKLCHoklch(35.14% 0.198 273.2)
XYZxyz(7.3665, 3.5910, 33.0991)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25199F #939F19
analogous
#19509F #25199F #68199F
triadic
#25199F #9F2519 #199F25
tetradic
#25199F #9F1950 #939F19 #199F68
square
#25199F #9F1950 #939F19 #199F68
split-complementary
#25199F #9F6819 #509F19
monochromatic
#0C0835 #19116A #25199F #3121D4 #5C4FE3

Accessibility & contrast

On white

12.22
#25199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#25199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25199F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25199F#FFFFFF#000000##FFFFFF
##25199F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25199f;
/* rgb */ color: rgb(37, 25, 159);
/* oklch */ color: oklch(35.1% 0.198 273.2);
Tailwind
colors: {
  custom: {
    50: '#765bbd',
    500: '#25199f',
    950: '#000000',
  },
}
SCSS
$custom: #25199f;
$custom-light: #765bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#25199f",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 245.373,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.19841,
    "h": 273.2
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#25199F
secondary
#BBC64E
accent
#F038DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25199F

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

Preview Lab → · Contrast checker → · Palette generator →

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