#25217E#25217E

#25217E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.150 H 275.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#25217E
RGBrgb(37, 33, 126)
HSLhsl(243, 58%, 31%)
HSVhsv(243, 74%, 49%)
CMYKcmyk(70.6%, 73.8%, 0%, 50.6%)
CIE-LABlab(19.99, 33.10, -51.72)
CIE-LCHlch(19.99, 61.40, 302.62°)
OKLaboklab(32.43% 0.0154 -0.1494)
OKLCHoklch(32.43% 0.15 275.9)
XYZxyz(5.0715, 2.9869, 20.0439)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25217E #7A7E21
analogous
#214B7E #25217E #53217E
triadic
#25217E #7E2521 #217E25
tetradic
#25217E #7E214B #7A7E21 #217E53
square
#25217E #7E214B #7A7E21 #217E53
split-complementary
#25217E #7E5321 #4B7E21
monochromatic
#09081D #17144E #25217E #332EAE #504AD0

Accessibility & contrast

On white

13.15
#25217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#25217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25217E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25217E#FFFFFF#000000##FFFFFF
##25217E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25217e;
/* rgb */ color: rgb(37, 33, 126);
/* oklch */ color: oklch(32.4% 0.150 275.9);
Tailwind
colors: {
  custom: {
    50: '#6d5da4',
    500: '#25217e',
    950: '#000000',
  },
}
SCSS
$custom: #25217e;
$custom-light: #6d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#25217e",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 242.581,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32434,
    "c": 0.15023,
    "h": 275.9
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#25217E
secondary
#ACB14A
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25217E

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

Preview Lab → · Contrast checker → · Palette generator →

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