#25167C#25167C

#25167C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.159 H 278.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#25167C
RGBrgb(37, 22, 124)
HSLhsl(249, 70%, 29%)
HSVhsv(249, 82%, 49%)
CMYKcmyk(70.2%, 82.3%, 0%, 51.4%)
CIE-LABlab(17.56, 38.69, -54.45)
CIE-LCHlch(17.56, 66.80, 305.39°)
OKLaboklab(30.65% 0.0224 -0.1573)
OKLCHoklch(30.65% 0.159 278.1)
XYZxyz(4.6868, 2.4220, 19.2854)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25167C #6D7C16
analogous
#163A7C #25167C #58167C
triadic
#25167C #7C2516 #167C25
tetradic
#25167C #7C163A #6D7C16 #167C58
square
#25167C #7C163A #6D7C16 #167C58
split-complementary
#25167C #7C5816 #3A7C16
monochromatic
#08051A #150D48 #25167C #351FB0 #4B32DB

Accessibility & contrast

On white

14.15
#25167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#25167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25167C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25167C#FFFFFF#000000##FFFFFF
##25167C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25167c;
/* rgb */ color: rgb(37, 22, 124);
/* oklch */ color: oklch(30.7% 0.159 278.1);
Tailwind
colors: {
  custom: {
    50: '#6e57a3',
    500: '#25167c',
    950: '#000000',
  },
}
SCSS
$custom: #25167c;
$custom-light: #6e57a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25167c",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 248.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30655,
    "c": 0.15889,
    "h": 278.1
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#25167C
secondary
#A0B13D
accent
#ED3BD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25167C

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

Preview Lab → · Contrast checker → · Palette generator →

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