#25168C#25168C

#25168C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.178 H 275.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#25168C
RGBrgb(37, 22, 140)
HSLhsl(248, 73%, 32%)
HSVhsv(248, 84%, 55%)
CMYKcmyk(73.6%, 84.3%, 0%, 45.1%)
CIE-LABlab(19.47, 43.74, -61.39)
CIE-LCHlch(19.47, 75.38, 305.47°)
OKLaboklab(32.54% 0.0176 -0.1775)
OKLCHoklch(32.54% 0.178 275.6)
XYZxyz(5.7819, 2.8600, 25.0532)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25168C #7D8C16
analogous
#16428C #25168C #60168C
triadic
#25168C #8C2516 #168C25
tetradic
#25168C #8C1642 #7D8C16 #168C60
square
#25168C #8C1642 #7D8C16 #168C60
split-complementary
#25168C #8C6016 #428C16
monochromatic
#090522 #170E57 #25168C #331EC1 #513CE0

Accessibility & contrast

On white

13.36
#25168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#25168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25168C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25168C#FFFFFF#000000##FFFFFF
##25168C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25168c;
/* rgb */ color: rgb(37, 22, 140);
/* oklch */ color: oklch(32.5% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#7258af',
    500: '#25168c',
    950: '#000000',
  },
}
SCSS
$custom: #25168c;
$custom-light: #7258af;
$custom-dark: #000000;
JSON
{
  "hex": "#25168c",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 247.627,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.17833,
    "h": 275.6
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#25168C
secondary
#AFC03E
accent
#F038D8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #25168C

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

Preview Lab → · Contrast checker → · Palette generator →

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