#25168B#25168B

#25168B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.177 H 275.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#25168B
RGBrgb(37, 22, 139)
HSLhsl(248, 73%, 32%)
HSVhsv(248, 84%, 55%)
CMYKcmyk(73.4%, 84.2%, 0%, 45.5%)
CIE-LABlab(19.35, 43.43, -60.97)
CIE-LCHlch(19.35, 74.85, 305.46°)
OKLaboklab(32.42% 0.0179 -0.1762)
OKLCHoklch(32.42% 0.177 275.8)
XYZxyz(5.7085, 2.8307, 24.6666)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25168B #7C8B16
analogous
#16428B #25168B #60168B
triadic
#25168B #8B2516 #168B25
tetradic
#25168B #8B1642 #7C8B16 #168B60
square
#25168B #8B1642 #7C8B16 #168B60
split-complementary
#25168B #8B6016 #428B16
monochromatic
#090521 #170E56 #25168B #331EC0 #503BE0

Accessibility & contrast

On white

13.41
#25168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25168B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25168B#FFFFFF#000000##FFFFFF
##25168B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25168b;
/* rgb */ color: rgb(37, 22, 139);
/* oklch */ color: oklch(32.4% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#7158ae',
    500: '#25168b',
    950: '#000000',
  },
}
SCSS
$custom: #25168b;
$custom-light: #7158ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25168b",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 247.692,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.17713,
    "h": 275.8
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#25168B
secondary
#AEBF3E
accent
#EF38D8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #25168B

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

Preview Lab → · Contrast checker → · Palette generator →

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