#25167A#25167A

#25167A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.156 H 278.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#25167A
RGBrgb(37, 22, 122)
HSLhsl(249, 69%, 28%)
HSVhsv(249, 82%, 48%)
CMYKcmyk(69.7%, 82%, 0%, 52.2%)
CIE-LABlab(17.33, 38.04, -53.56)
CIE-LCHlch(17.33, 65.70, 305.39°)
OKLaboklab(30.42% 0.023 -0.1547)
OKLCHoklch(30.42% 0.156 278.4)
XYZxyz(4.5616, 2.3719, 18.6260)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25167A #6B7A16
analogous
#16397A #25167A #57167A
triadic
#25167A #7A2516 #167A25
tetradic
#25167A #7A1639 #6B7A16 #167A57
square
#25167A #7A1639 #6B7A16 #167A57
split-complementary
#25167A #7A5716 #397A16
monochromatic
#08051A #150D46 #25167A #351FAE #4A31DA

Accessibility & contrast

On white

14.24
#25167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#25167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25167A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25167A#FFFFFF#000000##FFFFFF
##25167A1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25167a;
/* rgb */ color: rgb(37, 22, 122);
/* oklch */ color: oklch(30.4% 0.156 278.4);
Tailwind
colors: {
  custom: {
    50: '#6d56a2',
    500: '#25167a',
    950: '#000000',
  },
}
SCSS
$custom: #25167a;
$custom-light: #6d56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25167a",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 249,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30424,
    "c": 0.1564,
    "h": 278.4
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#25167A
secondary
#9EAF3D
accent
#EC3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25167A

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

Preview Lab → · Contrast checker → · Palette generator →

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