#25196C#25196C

#25196C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.135 H 280.6°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#25196C
RGBrgb(37, 25, 108)
HSLhsl(249, 62%, 26%)
HSVhsv(249, 77%, 42%)
CMYKcmyk(65.7%, 76.9%, 0%, 57.6%)
CIE-LABlab(16.36, 31.73, -46.11)
CIE-LCHlch(16.36, 55.97, 304.54°)
OKLaboklab(29.28% 0.0248 -0.133)
OKLCHoklch(29.28% 0.135 280.6)
XYZxyz(3.8165, 2.1710, 14.4024)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25196C #606C19
analogous
#19366C #25196C #4E196C
triadic
#25196C #6C2519 #196C25
tetradic
#25196C #6C1936 #606C19 #196C4E
square
#25196C #6C1936 #606C19 #196C4E
split-complementary
#25196C #6C4E19 #366C19
monochromatic
#090619 #140D3A #25196C #36259E #4730CF

Accessibility & contrast

On white

14.64
#25196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#25196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25196C
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25196C#FFFFFF#000000##FFFFFF
##25196C1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #25196c;
/* rgb */ color: rgb(37, 25, 108);
/* oklch */ color: oklch(29.3% 0.135 280.6);
Tailwind
colors: {
  custom: {
    50: '#6a5797',
    500: '#25196c',
    950: '#000000',
  },
}
SCSS
$custom: #25196c;
$custom-light: #6a5797;
$custom-dark: #000000;
JSON
{
  "hex": "#25196c",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 248.675,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2928,
    "c": 0.13531,
    "h": 280.6
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#25196C
secondary
#93A13F
accent
#E542CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25196C

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

Preview Lab → · Contrast checker → · Palette generator →

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