#25168A#25168A

#25168A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.176 H 275.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#25168A
RGBrgb(37, 22, 138)
HSLhsl(248, 73%, 31%)
HSVhsv(248, 84%, 54%)
CMYKcmyk(73.2%, 84.1%, 0%, 45.9%)
CIE-LABlab(19.23, 43.12, -60.54)
CIE-LCHlch(19.23, 74.33, 305.46°)
OKLaboklab(32.3% 0.0182 -0.175)
OKLCHoklch(32.3% 0.176 275.9)
XYZxyz(5.6358, 2.8016, 24.2836)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25168A #7B8A16
analogous
#16418A #25168A #5F168A
triadic
#25168A #8A2516 #168A25
tetradic
#25168A #8A1641 #7B8A16 #168A5F
square
#25168A #8A1641 #7B8A16 #168A5F
split-complementary
#25168A #8A5F16 #418A16
monochromatic
#090520 #170E55 #25168A #331EBF #503BE0

Accessibility & contrast

On white

13.46
#25168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#25168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25168A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25168A#FFFFFF#000000##FFFFFF
##25168A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25168a;
/* rgb */ color: rgb(37, 22, 138);
/* oklch */ color: oklch(32.3% 0.176 275.9);
Tailwind
colors: {
  custom: {
    50: '#7158ad',
    500: '#25168a',
    950: '#000000',
  },
}
SCSS
$custom: #25168a;
$custom-light: #7158ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25168a",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 247.759,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32299,
    "c": 0.17594,
    "h": 275.9
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#25168A
secondary
#ADBE3E
accent
#EF39D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #25168A

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

Preview Lab → · Contrast checker → · Palette generator →

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