#25216E#25216E

#25216E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.128 H 278.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#25216E
RGBrgb(37, 33, 110)
HSLhsl(243, 54%, 28%)
HSVhsv(243, 70%, 43%)
CMYKcmyk(66.4%, 70%, 0%, 56.9%)
CIE-LABlab(18.39, 27.40, -44.07)
CIE-LCHlch(18.39, 51.90, 301.87°)
OKLaboklab(30.8% 0.0179 -0.1271)
OKLCHoklch(30.8% 0.128 278)
XYZxyz(4.1204, 2.6065, 15.0348)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25216E #6A6E21
analogous
#21436E #25216E #4B216E
triadic
#25216E #6E2521 #216E25
tetradic
#25216E #6E2143 #6A6E21 #216E4B
square
#25216E #6E2143 #6A6E21 #216E4B
split-complementary
#25216E #6E4B21 #436E21
monochromatic
#080718 #15133F #25216E #352F9D #4A43C7

Accessibility & contrast

On white

13.80
#25216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#25216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25216E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25216E#FFFFFF#000000##FFFFFF
##25216E1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25216e;
/* rgb */ color: rgb(37, 33, 110);
/* oklch */ color: oklch(30.8% 0.128 278.0);
Tailwind
colors: {
  custom: {
    50: '#6a5d98',
    500: '#25216e',
    950: '#000000',
  },
}
SCSS
$custom: #25216e;
$custom-light: #6a5d98;
$custom-dark: #000000;
JSON
{
  "hex": "#25216e",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 243.117,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30798,
    "c": 0.12833,
    "h": 278
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#25216E
secondary
#9DA249
accent
#DD4BD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25216E

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

Preview Lab → · Contrast checker → · Palette generator →

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