#25147B#25147B

#25147B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.159 H 278.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#25147B
RGBrgb(37, 20, 123)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 84%, 48%)
CMYKcmyk(69.9%, 83.7%, 0%, 51.8%)
CIE-LABlab(17.10, 39.37, -54.58)
CIE-LCHlch(17.10, 67.30, 305.80°)
OKLaboklab(30.3% 0.0237 -0.1576)
OKLCHoklch(30.3% 0.159 278.5)
XYZxyz(4.5871, 2.3233, 18.9418)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25147B #6A7B14
analogous
#14367B #25147B #58147B
triadic
#25147B #7B2514 #147B25
tetradic
#25147B #7B1436 #6A7B14 #147B58
square
#25147B #7B1436 #6A7B14 #147B58
split-complementary
#25147B #7B5814 #367B14
monochromatic
#08041A #150B46 #25147B #351DB0 #4A2DDD

Accessibility & contrast

On white

14.34
#25147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#25147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25147B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25147B#FFFFFF#000000##FFFFFF
##25147B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25147b;
/* rgb */ color: rgb(37, 20, 123);
/* oklch */ color: oklch(30.3% 0.159 278.5);
Tailwind
colors: {
  custom: {
    50: '#6e55a2',
    500: '#25147b',
    950: '#000000',
  },
}
SCSS
$custom: #25147b;
$custom-light: #6e55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25147b",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 249.903,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.303,
    "c": 0.15941,
    "h": 278.5
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25147B

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

Preview Lab → · Contrast checker → · Palette generator →

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