#25216F#25216F

#25216F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.130 H 277.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#25216F
RGBrgb(37, 33, 111)
HSLhsl(243, 54%, 28%)
HSVhsv(243, 70%, 44%)
CMYKcmyk(66.7%, 70.3%, 0%, 56.5%)
CIE-LABlab(18.49, 27.76, -44.57)
CIE-LCHlch(18.49, 52.50, 301.92°)
OKLaboklab(30.9% 0.0178 -0.1285)
OKLCHoklch(30.9% 0.13 277.9)
XYZxyz(4.1751, 2.6284, 15.3232)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25216F #6B6F21
analogous
#21446F #25216F #4C216F
triadic
#25216F #6F2521 #216F25
tetradic
#25216F #6F2144 #6B6F21 #216F4C
square
#25216F #6F2144 #6B6F21 #216F4C
split-complementary
#25216F #6F4C21 #446F21
monochromatic
#080718 #151340 #25216F #352F9E #4A43C7

Accessibility & contrast

On white

13.76
#25216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#25216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25216F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25216F#FFFFFF#000000##FFFFFF
##25216F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25216f;
/* rgb */ color: rgb(37, 33, 111);
/* oklch */ color: oklch(30.9% 0.130 277.9);
Tailwind
colors: {
  custom: {
    50: '#6a5d99',
    500: '#25216f',
    950: '#000000',
  },
}
SCSS
$custom: #25216f;
$custom-light: #6a5d99;
$custom-dark: #000000;
JSON
{
  "hex": "#25216f",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 243.077,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30897,
    "c": 0.12974,
    "h": 277.9
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#25216F
secondary
#9EA349
accent
#DE4AD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #25216F

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

Preview Lab → · Contrast checker → · Palette generator →

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