#25168F#25168F

#25168F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.182 H 275.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#25168F
RGBrgb(37, 22, 143)
HSLhsl(247, 73%, 32%)
HSVhsv(247, 85%, 56%)
CMYKcmyk(74.1%, 84.6%, 0%, 43.9%)
CIE-LABlab(19.84, 44.67, -62.66)
CIE-LCHlch(19.84, 76.95, 305.48°)
OKLaboklab(32.9% 0.0167 -0.1811)
OKLCHoklch(32.9% 0.182 275.3)
XYZxyz(6.0062, 2.9497, 26.2341)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25168F #808F16
analogous
#16448F #25168F #62168F
triadic
#25168F #8F2516 #168F25
tetradic
#25168F #8F1644 #808F16 #168F62
square
#25168F #8F1644 #808F16 #168F62
split-complementary
#25168F #8F6216 #448F16
monochromatic
#0A0625 #170E5A #25168F #331EC4 #523EE1

Accessibility & contrast

On white

13.21
#25168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25168F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25168F#FFFFFF#000000##FFFFFF
##25168F1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25168f;
/* rgb */ color: rgb(37, 22, 143);
/* oklch */ color: oklch(32.9% 0.182 275.3);
Tailwind
colors: {
  custom: {
    50: '#7258b1',
    500: '#25168f',
    950: '#000000',
  },
}
SCSS
$custom: #25168f;
$custom-light: #7258b1;
$custom-dark: #000000;
JSON
{
  "hex": "#25168f",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 247.438,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32897,
    "c": 0.18188,
    "h": 275.3
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#25168F
secondary
#B1C13F
accent
#F038D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #25168F

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

Preview Lab → · Contrast checker → · Palette generator →

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