#25138A#25138A

#25138A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.178 H 276.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#25138A
RGBrgb(37, 19, 138)
HSLhsl(249, 76%, 31%)
HSVhsv(249, 86%, 54%)
CMYKcmyk(73.2%, 86.2%, 0%, 45.9%)
CIE-LABlab(18.77, 44.47, -61.31)
CIE-LCHlch(18.77, 75.74, 305.96°)
OKLaboklab(31.98% 0.0192 -0.1771)
OKLCHoklch(31.98% 0.178 276.2)
XYZxyz(5.5818, 2.6935, 24.2656)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25138A #788A13
analogous
#133C8A #25138A #60138A
triadic
#25138A #8A2513 #138A25
tetradic
#25138A #8A133C #788A13 #138A60
square
#25138A #8A133C #788A13 #138A60
split-complementary
#25138A #8A6013 #3C8A13
monochromatic
#08041E #170C54 #25138A #331AC0 #4F34E3

Accessibility & contrast

On white

13.65
#25138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#25138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25138A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25138A#FFFFFF#000000##FFFFFF
##25138A1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25138a;
/* rgb */ color: rgb(37, 19, 138);
/* oklch */ color: oklch(32.0% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#7156ad',
    500: '#25138a',
    950: '#000000',
  },
}
SCSS
$custom: #25138a;
$custom-light: #7156ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25138a",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 249.076,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31983,
    "c": 0.17819,
    "h": 276.2
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#25138A
secondary
#AABE3A
accent
#F235D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #25138A

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

Preview Lab → · Contrast checker → · Palette generator →

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