#25216A#25216A

#25216A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.123 H 278.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#25216A
RGBrgb(37, 33, 106)
HSLhsl(243, 53%, 27%)
HSVhsv(243, 69%, 42%)
CMYKcmyk(65.1%, 68.9%, 0%, 58.4%)
CIE-LABlab(18.01, 25.95, -42.09)
CIE-LCHlch(18.01, 49.45, 301.66°)
OKLaboklab(30.41% 0.0184 -0.1213)
OKLCHoklch(30.41% 0.123 278.6)
XYZxyz(3.9075, 2.5213, 13.9136)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25216A #666A21
analogous
#21416A #25216A #4A216A
triadic
#25216A #6A2521 #216A25
tetradic
#25216A #6A2141 #666A21 #216A4A
square
#25216A #6A2141 #666A21 #216A4A
split-complementary
#25216A #6A4A21 #416A21
monochromatic
#080717 #15123B #25216A #353099 #4941C4

Accessibility & contrast

On white

13.96
#25216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#25216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25216A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25216A#FFFFFF#000000##FFFFFF
##25216A1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25216a;
/* rgb */ color: rgb(37, 33, 106);
/* oklch */ color: oklch(30.4% 0.123 278.6);
Tailwind
colors: {
  custom: {
    50: '#695c95',
    500: '#25216a',
    950: '#000000',
  },
}
SCSS
$custom: #25216a;
$custom-light: #695c95;
$custom-dark: #000000;
JSON
{
  "hex": "#25216a",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 243.288,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30407,
    "c": 0.12265,
    "h": 278.6
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#25216A
secondary
#999E49
accent
#DC4CD4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25216A

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

Preview Lab → · Contrast checker → · Palette generator →

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