#25197B#25197B

#25197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.155 H 277.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#25197B
RGBrgb(37, 25, 123)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 80%, 48%)
CMYKcmyk(69.9%, 79.7%, 0%, 51.8%)
CIE-LABlab(18.00, 36.77, -53.09)
CIE-LCHlch(18.00, 64.58, 304.70°)
OKLaboklab(30.93% 0.021 -0.1534)
OKLCHoklch(30.93% 0.155 277.8)
XYZxyz(4.6846, 2.5182, 18.9742)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25197B #6F7B19
analogous
#193E7B #25197B #56197B
triadic
#25197B #7B2519 #197B25
tetradic
#25197B #7B193E #6F7B19 #197B56
square
#25197B #7B193E #6F7B19 #197B56
split-complementary
#25197B #7B5619 #3E7B19
monochromatic
#080519 #160F48 #25197B #3423AE #4B38D7

Accessibility & contrast

On white

13.96
#25197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25197B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25197B#FFFFFF#000000##FFFFFF
##25197B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25197b;
/* rgb */ color: rgb(37, 25, 123);
/* oklch */ color: oklch(30.9% 0.155 277.8);
Tailwind
colors: {
  custom: {
    50: '#6d58a2',
    500: '#25197b',
    950: '#000000',
  },
}
SCSS
$custom: #25197b;
$custom-light: #6d58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25197b",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 247.347,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30928,
    "c": 0.15482,
    "h": 277.8
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25197B

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

Preview Lab → · Contrast checker → · Palette generator →

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