#25197C#25197C

#25197C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.156 H 277.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#25197C
RGBrgb(37, 25, 124)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 80%, 49%)
CMYKcmyk(70.2%, 79.8%, 0%, 51.4%)
CIE-LABlab(18.11, 37.10, -53.54)
CIE-LCHlch(18.11, 65.14, 304.72°)
OKLaboklab(31.04% 0.0208 -0.1547)
OKLCHoklch(31.04% 0.156 277.6)
XYZxyz(4.7475, 2.5434, 19.3056)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25197C #707C19
analogous
#193F7C #25197C #57197C
triadic
#25197C #7C2519 #197C25
tetradic
#25197C #7C193F #707C19 #197C57
square
#25197C #7C193F #707C19 #197C57
split-complementary
#25197C #7C5719 #3F7C19
monochromatic
#080519 #160F49 #25197C #3423AF #4C38D7

Accessibility & contrast

On white

13.92
#25197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#25197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25197C
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25197C#FFFFFF#000000##FFFFFF
##25197C1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25197c;
/* rgb */ color: rgb(37, 25, 124);
/* oklch */ color: oklch(31.0% 0.156 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e58a3',
    500: '#25197c',
    950: '#000000',
  },
}
SCSS
$custom: #25197c;
$custom-light: #6e58a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25197c",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 247.273,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3104,
    "c": 0.15608,
    "h": 277.6
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#25197C
secondary
#A3B040
accent
#E93ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25197C

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

Preview Lab → · Contrast checker → · Palette generator →

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