#25167F#25167F

#25167F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.163 H 277.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#25167F
RGBrgb(37, 22, 127)
HSLhsl(249, 70%, 29%)
HSVhsv(249, 83%, 50%)
CMYKcmyk(70.9%, 82.7%, 0%, 50.2%)
CIE-LABlab(17.91, 39.65, -55.78)
CIE-LCHlch(17.91, 68.44, 305.40°)
OKLaboklab(31% 0.0215 -0.1612)
OKLCHoklch(31% 0.163 277.6)
XYZxyz(4.8794, 2.4990, 20.2998)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25167F #707F16
analogous
#163C7F #25167F #5A167F
triadic
#25167F #7F2516 #167F25
tetradic
#25167F #7F163C #707F16 #167F5A
square
#25167F #7F163C #707F16 #167F5A
split-complementary
#25167F #7F5A16 #3C7F16
monochromatic
#08051A #160D4B #25167F #341FB3 #4C34DC

Accessibility & contrast

On white

14.00
#25167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#25167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25167F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25167F#FFFFFF#000000##FFFFFF
##25167F1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25167f;
/* rgb */ color: rgb(37, 22, 127);
/* oklch */ color: oklch(31.0% 0.163 277.6);
Tailwind
colors: {
  custom: {
    50: '#6f57a5',
    500: '#25167f',
    950: '#000000',
  },
}
SCSS
$custom: #25167f;
$custom-light: #6f57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25167f",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 248.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.16259,
    "h": 277.6
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#25167F
secondary
#A3B43D
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25167F

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

Preview Lab → · Contrast checker → · Palette generator →

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