#25197A#25197A

#25197A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.154 H 278.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#25197A
RGBrgb(37, 25, 122)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 80%, 48%)
CMYKcmyk(69.7%, 79.5%, 0%, 52.2%)
CIE-LABlab(17.89, 36.44, -52.64)
CIE-LCHlch(17.89, 64.02, 304.69°)
OKLaboklab(30.82% 0.0213 -0.152)
OKLCHoklch(30.82% 0.154 278)
XYZxyz(4.6223, 2.4933, 18.6462)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25197A #6E7A19
analogous
#193E7A #25197A #56197A
triadic
#25197A #7A2519 #197A25
tetradic
#25197A #7A193E #6E7A19 #197A56
square
#25197A #7A193E #6E7A19 #197A56
split-complementary
#25197A #7A5619 #3E7A19
monochromatic
#080519 #160F47 #25197A #3423AD #4B37D6

Accessibility & contrast

On white

14.01
#25197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#25197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25197A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25197A#FFFFFF#000000##FFFFFF
##25197A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25197a;
/* rgb */ color: rgb(37, 25, 122);
/* oklch */ color: oklch(30.8% 0.154 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d58a2',
    500: '#25197a',
    950: '#000000',
  },
}
SCSS
$custom: #25197a;
$custom-light: #6d58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25197a",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 247.423,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30815,
    "c": 0.15353,
    "h": 278
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#25197A
secondary
#A1AF40
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25197A

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

Preview Lab → · Contrast checker → · Palette generator →

#25197A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva