#25167D#25167D

#25167D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.160 H 277.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#25167D
RGBrgb(37, 22, 125)
HSLhsl(249, 70%, 29%)
HSVhsv(249, 82%, 49%)
CMYKcmyk(70.4%, 82.4%, 0%, 51%)
CIE-LABlab(17.68, 39.01, -54.90)
CIE-LCHlch(17.68, 67.34, 305.40°)
OKLaboklab(30.77% 0.0221 -0.1586)
OKLCHoklch(30.77% 0.16 277.9)
XYZxyz(4.7503, 2.4474, 19.6201)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25167D #6E7D16
analogous
#163B7D #25167D #59167D
triadic
#25167D #7D2516 #167D25
tetradic
#25167D #7D163B #6E7D16 #167D59
square
#25167D #7D163B #6E7D16 #167D59
split-complementary
#25167D #7D5916 #3B7D16
monochromatic
#08051A #160D49 #25167D #341FB1 #4B32DB

Accessibility & contrast

On white

14.10
#25167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#25167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25167D
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25167D#FFFFFF#000000##FFFFFF
##25167D1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25167d;
/* rgb */ color: rgb(37, 22, 125);
/* oklch */ color: oklch(30.8% 0.160 277.9);
Tailwind
colors: {
  custom: {
    50: '#6e57a4',
    500: '#25167d',
    950: '#000000',
  },
}
SCSS
$custom: #25167d;
$custom-light: #6e57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25167d",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 248.738,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30771,
    "c": 0.16013,
    "h": 277.9
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25167D

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

Preview Lab → · Contrast checker → · Palette generator →

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