#25216C#25216C

#25216C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.126 H 278.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#25216C
RGBrgb(37, 33, 108)
HSLhsl(243, 53%, 28%)
HSVhsv(243, 69%, 42%)
CMYKcmyk(65.7%, 69.4%, 0%, 57.6%)
CIE-LABlab(18.20, 26.68, -43.09)
CIE-LCHlch(18.20, 50.68, 301.76°)
OKLaboklab(30.6% 0.0182 -0.1242)
OKLCHoklch(30.6% 0.126 278.3)
XYZxyz(4.0127, 2.5634, 14.4678)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25216C #686C21
analogous
#21426C #25216C #4A216C
triadic
#25216C #6C2521 #216C25
tetradic
#25216C #6C2142 #686C21 #216C4A
square
#25216C #6C2142 #686C21 #216C4A
split-complementary
#25216C #6C4A21 #426C21
monochromatic
#080717 #15133D #25216C #352F9B #4942C5

Accessibility & contrast

On white

13.88
#25216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#25216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25216C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25216C#FFFFFF#000000##FFFFFF
##25216C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #25216c;
/* rgb */ color: rgb(37, 33, 108);
/* oklch */ color: oklch(30.6% 0.126 278.3);
Tailwind
colors: {
  custom: {
    50: '#695d97',
    500: '#25216c',
    950: '#000000',
  },
}
SCSS
$custom: #25216c;
$custom-light: #695d97;
$custom-dark: #000000;
JSON
{
  "hex": "#25216c",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 243.2,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30601,
    "c": 0.12551,
    "h": 278.3
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#25216C
secondary
#9BA049
accent
#DD4BD5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #25216C

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

Preview Lab → · Contrast checker → · Palette generator →

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