#25138E#25138E

#25138E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.183 H 275.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#25138E
RGBrgb(37, 19, 142)
HSLhsl(249, 76%, 32%)
HSVhsv(249, 87%, 56%)
CMYKcmyk(73.9%, 86.6%, 0%, 44.3%)
CIE-LABlab(19.27, 45.68, -62.98)
CIE-LCHlch(19.27, 77.80, 305.95°)
OKLaboklab(32.47% 0.0179 -0.182)
OKLCHoklch(32.47% 0.183 275.6)
XYZxyz(5.8767, 2.8115, 25.8189)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25138E #7C8E13
analogous
#133F8E #25138E #63138E
triadic
#25138E #8E2513 #138E25
tetradic
#25138E #8E133F #7C8E13 #138E63
square
#25138E #8E133F #7C8E13 #138E63
split-complementary
#25138E #8E6313 #3F8E13
monochromatic
#090522 #170C58 #25138E #331AC4 #5037E4

Accessibility & contrast

On white

13.44
#25138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#25138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25138E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25138E#FFFFFF#000000##FFFFFF
##25138E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25138e;
/* rgb */ color: rgb(37, 19, 142);
/* oklch */ color: oklch(32.5% 0.183 275.6);
Tailwind
colors: {
  custom: {
    50: '#7256b0',
    500: '#25138e',
    950: '#000000',
  },
}
SCSS
$custom: #25138e;
$custom-light: #7256b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25138e",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 248.78,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3247,
    "c": 0.18288,
    "h": 275.6
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#25138E
secondary
#AEC23B
accent
#F335D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #25138E

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

Preview Lab → · Contrast checker → · Palette generator →

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