#25147F#25147F

#25147F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.164 H 277.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#25147F
RGBrgb(37, 20, 127)
HSLhsl(250, 73%, 29%)
HSVhsv(250, 84%, 50%)
CMYKcmyk(70.9%, 84.3%, 0%, 50.2%)
CIE-LABlab(17.58, 40.63, -56.34)
CIE-LCHlch(17.58, 69.46, 305.80°)
OKLaboklab(30.77% 0.0224 -0.1627)
OKLCHoklch(30.77% 0.164 277.8)
XYZxyz(4.8426, 2.4255, 20.2875)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25147F #6E7F14
analogous
#14397F #25147F #5B147F
triadic
#25147F #7F2514 #147F25
tetradic
#25147F #7F1439 #6E7F14 #147F5B
square
#25147F #7F1439 #6E7F14 #147F5B
split-complementary
#25147F #7F5B14 #397F14
monochromatic
#08041A #160C4A #25147F #341CB4 #4B2FDE

Accessibility & contrast

On white

14.14
#25147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#25147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25147F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25147F#FFFFFF#000000##FFFFFF
##25147F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25147f;
/* rgb */ color: rgb(37, 20, 127);
/* oklch */ color: oklch(30.8% 0.164 277.8);
Tailwind
colors: {
  custom: {
    50: '#6f56a5',
    500: '#25147f',
    950: '#000000',
  },
}
SCSS
$custom: #25147f;
$custom-light: #6f56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25147f",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 249.533,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30771,
    "c": 0.16428,
    "h": 277.8
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#25147F
secondary
#A1B43B
accent
#EF38D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25147F

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

Preview Lab → · Contrast checker → · Palette generator →

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