#25147E#25147E

#25147E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 278.0°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#25147E
RGBrgb(37, 20, 126)
HSLhsl(250, 73%, 29%)
HSVhsv(250, 84%, 49%)
CMYKcmyk(70.6%, 84.1%, 0%, 50.6%)
CIE-LABlab(17.46, 40.31, -55.90)
CIE-LCHlch(17.46, 68.92, 305.80°)
OKLaboklab(30.65% 0.0227 -0.1615)
OKLCHoklch(30.65% 0.163 278)
XYZxyz(4.7778, 2.3996, 19.9460)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25147E #6D7E14
analogous
#14387E #25147E #5A147E
triadic
#25147E #7E2514 #147E25
tetradic
#25147E #7E1438 #6D7E14 #147E5A
square
#25147E #7E1438 #6D7E14 #147E5A
split-complementary
#25147E #7E5A14 #387E14
monochromatic
#08041A #150C49 #25147E #351CB3 #4B2EDE

Accessibility & contrast

On white

14.19
#25147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#25147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25147E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25147E#FFFFFF#000000##FFFFFF
##25147E1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25147e;
/* rgb */ color: rgb(37, 20, 126);
/* oklch */ color: oklch(30.7% 0.163 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f56a5',
    500: '#25147e',
    950: '#000000',
  },
}
SCSS
$custom: #25147e;
$custom-light: #6f56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25147e",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 249.623,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30652,
    "c": 0.16307,
    "h": 278
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25147E

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

Preview Lab → · Contrast checker → · Palette generator →

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