#25147C#25147C

#25147C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.161 H 278.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#25147C
RGBrgb(37, 20, 124)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 84%, 49%)
CMYKcmyk(70.2%, 83.9%, 0%, 51.4%)
CIE-LABlab(17.22, 39.68, -55.02)
CIE-LCHlch(17.22, 67.84, 305.80°)
OKLaboklab(30.42% 0.0234 -0.1589)
OKLCHoklch(30.42% 0.161 278.4)
XYZxyz(4.6500, 2.3485, 19.2731)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25147C #6B7C14
analogous
#14377C #25147C #59147C
triadic
#25147C #7C2514 #147C25
tetradic
#25147C #7C1437 #6B7C14 #147C59
square
#25147C #7C1437 #6B7C14 #147C59
split-complementary
#25147C #7C5914 #377C14
monochromatic
#08041A #150B47 #25147C #351DB1 #4A2DDD

Accessibility & contrast

On white

14.29
#25147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25147C
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25147C#FFFFFF#000000##FFFFFF
##25147C1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25147c;
/* rgb */ color: rgb(37, 20, 124);
/* oklch */ color: oklch(30.4% 0.161 278.4);
Tailwind
colors: {
  custom: {
    50: '#6e55a3',
    500: '#25147c',
    950: '#000000',
  },
}
SCSS
$custom: #25147c;
$custom-light: #6e55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25147c",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 249.808,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30417,
    "c": 0.16064,
    "h": 278.4
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#25147C
secondary
#9EB23A
accent
#EF39D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25147C

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

Preview Lab → · Contrast checker → · Palette generator →

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