#25167B#25167B

#25167B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.158 H 278.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#25167B
RGBrgb(37, 22, 123)
HSLhsl(249, 70%, 28%)
HSVhsv(249, 82%, 48%)
CMYKcmyk(69.9%, 82.1%, 0%, 51.8%)
CIE-LABlab(17.45, 38.37, -54.01)
CIE-LCHlch(17.45, 66.25, 305.39°)
OKLaboklab(30.54% 0.0227 -0.156)
OKLCHoklch(30.54% 0.158 278.3)
XYZxyz(4.6239, 2.3968, 18.9540)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25167B #6C7B16
analogous
#16397B #25167B #57167B
triadic
#25167B #7B2516 #167B25
tetradic
#25167B #7B1639 #6C7B16 #167B57
square
#25167B #7B1639 #6C7B16 #167B57
split-complementary
#25167B #7B5716 #397B16
monochromatic
#08051A #150D47 #25167B #351FAF #4A31DA

Accessibility & contrast

On white

14.19
#25167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25167B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25167B#FFFFFF#000000##FFFFFF
##25167B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25167b;
/* rgb */ color: rgb(37, 22, 123);
/* oklch */ color: oklch(30.5% 0.158 278.3);
Tailwind
colors: {
  custom: {
    50: '#6e56a2',
    500: '#25167b',
    950: '#000000',
  },
}
SCSS
$custom: #25167b;
$custom-light: #6e56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25167b",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 248.911,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30539,
    "c": 0.15765,
    "h": 278.3
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#25167B
secondary
#9FB03D
accent
#EC3BD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25167B

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

Preview Lab → · Contrast checker → · Palette generator →

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