#25217A#25217A

#25217A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.145 H 276.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#25217A
RGBrgb(37, 33, 122)
HSLhsl(243, 57%, 30%)
HSVhsv(243, 73%, 48%)
CMYKcmyk(69.7%, 73%, 0%, 52.2%)
CIE-LABlab(19.58, 31.69, -49.85)
CIE-LCHlch(19.58, 59.07, 302.44°)
OKLaboklab(32.02% 0.0161 -0.144)
OKLCHoklch(32.02% 0.145 276.4)
XYZxyz(4.8185, 2.8857, 18.7117)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25217A #767A21
analogous
#21497A #25217A #52217A
triadic
#25217A #7A2521 #217A25
tetradic
#25217A #7A2149 #767A21 #217A52
square
#25217A #7A2149 #767A21 #217A52
split-complementary
#25217A #7A5221 #497A21
monochromatic
#08071A #16144A #25217A #342EAA #4E48CD

Accessibility & contrast

On white

13.31
#25217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#25217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25217A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25217A#FFFFFF#000000##FFFFFF
##25217A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25217a;
/* rgb */ color: rgb(37, 33, 122);
/* oklch */ color: oklch(32.0% 0.145 276.4);
Tailwind
colors: {
  custom: {
    50: '#6c5da1',
    500: '#25217a',
    950: '#000000',
  },
}
SCSS
$custom: #25217a;
$custom-light: #6c5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#25217a",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 242.697,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32016,
    "c": 0.14487,
    "h": 276.4
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#25217A
secondary
#A9AD4A
accent
#E147DA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #25217A

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

Preview Lab → · Contrast checker → · Palette generator →

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