#25199E#25199E

#25199E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.197 H 273.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#25199E
RGBrgb(37, 25, 158)
HSLhsl(245, 73%, 36%)
HSVhsv(245, 84%, 62%)
CMYKcmyk(76.6%, 84.2%, 0%, 38%)
CIE-LABlab(22.15, 47.91, -68.09)
CIE-LCHlch(22.15, 83.26, 305.14°)
OKLaboklab(35.02% 0.0114 -0.1969)
OKLCHoklch(35.02% 0.197 273.3)
XYZxyz(7.2801, 3.5564, 32.6439)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25199E #929E19
analogous
#194F9E #25199E #68199E
triadic
#25199E #9E2519 #199E25
tetradic
#25199E #9E194F #929E19 #199E68
square
#25199E #9E194F #929E19 #199E68
split-complementary
#25199E #9E6819 #4F9E19
monochromatic
#0C0834 #191169 #25199E #3121D3 #5C4EE3

Accessibility & contrast

On white

12.27
#25199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#25199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25199E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25199E#FFFFFF#000000##FFFFFF
##25199E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25199e;
/* rgb */ color: rgb(37, 25, 158);
/* oklch */ color: oklch(35.0% 0.197 273.3);
Tailwind
colors: {
  custom: {
    50: '#765bbc',
    500: '#25199e',
    950: '#000000',
  },
}
SCSS
$custom: #25199e;
$custom-light: #765bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25199e",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 245.414,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.19725,
    "h": 273.3
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#25199E
secondary
#BAC54E
accent
#EF38DF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #25199E

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

Preview Lab → · Contrast checker → · Palette generator →

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