#25147D#25147D

#25147D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 278.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#25147D
RGBrgb(37, 20, 125)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 84%, 49%)
CMYKcmyk(70.4%, 84%, 0%, 51%)
CIE-LABlab(17.34, 40.00, -55.46)
CIE-LCHlch(17.34, 68.38, 305.80°)
OKLaboklab(30.54% 0.023 -0.1602)
OKLCHoklch(30.54% 0.162 278.2)
XYZxyz(4.7136, 2.3739, 19.6079)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25147D #6C7D14
analogous
#14377D #25147D #59147D
triadic
#25147D #7D2514 #147D25
tetradic
#25147D #7D1437 #6C7D14 #147D59
square
#25147D #7D1437 #6C7D14 #147D59
split-complementary
#25147D #7D5914 #377D14
monochromatic
#08041A #150C48 #25147D #351CB2 #4A2EDE

Accessibility & contrast

On white

14.24
#25147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#25147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25147D
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25147D#FFFFFF#000000##FFFFFF
##25147D1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25147d;
/* rgb */ color: rgb(37, 20, 125);
/* oklch */ color: oklch(30.5% 0.162 278.2);
Tailwind
colors: {
  custom: {
    50: '#6e56a4',
    500: '#25147d',
    950: '#000000',
  },
}
SCSS
$custom: #25147d;
$custom-light: #6e56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25147d",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 249.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30535,
    "c": 0.16186,
    "h": 278.2
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#25147D
secondary
#9FB23A
accent
#EF39D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25147D

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

Preview Lab → · Contrast checker → · Palette generator →

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