#25217B#25217B

#25217B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.146 H 276.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#25217B
RGBrgb(37, 33, 123)
HSLhsl(243, 58%, 31%)
HSVhsv(243, 73%, 48%)
CMYKcmyk(69.9%, 73.2%, 0%, 51.8%)
CIE-LABlab(19.68, 32.04, -50.32)
CIE-LCHlch(19.68, 59.65, 302.49°)
OKLaboklab(32.12% 0.0159 -0.1453)
OKLCHoklch(32.12% 0.146 276.3)
XYZxyz(4.8808, 2.9107, 19.0397)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25217B #777B21
analogous
#214A7B #25217B #52217B
triadic
#25217B #7B2521 #217B25
tetradic
#25217B #7B214A #777B21 #217B52
square
#25217B #7B214A #777B21 #217B52
split-complementary
#25217B #7B5221 #4A7B21
monochromatic
#08071A #16144B #25217B #342EAB #4E48CE

Accessibility & contrast

On white

13.27
#25217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25217B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25217B#FFFFFF#000000##FFFFFF
##25217B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25217b;
/* rgb */ color: rgb(37, 33, 123);
/* oklch */ color: oklch(32.1% 0.146 276.3);
Tailwind
colors: {
  custom: {
    50: '#6d5da2',
    500: '#25217b',
    950: '#000000',
  },
}
SCSS
$custom: #25217b;
$custom-light: #6d5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#25217b",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 242.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3212,
    "c": 0.14622,
    "h": 276.3
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#25217B
secondary
#A9AE4A
accent
#E147DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25217B

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

Preview Lab → · Contrast checker → · Palette generator →

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