#25217D#25217D

#25217D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.149 H 276.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#25217D
RGBrgb(37, 33, 125)
HSLhsl(243, 58%, 31%)
HSVhsv(243, 74%, 49%)
CMYKcmyk(70.4%, 73.6%, 0%, 51%)
CIE-LABlab(19.89, 32.75, -51.25)
CIE-LCHlch(19.89, 60.82, 302.58°)
OKLaboklab(32.33% 0.0156 -0.1481)
OKLCHoklch(32.33% 0.149 276)
XYZxyz(5.0073, 2.9612, 19.7058)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25217D #797D21
analogous
#214B7D #25217D #53217D
triadic
#25217D #7D2521 #217D25
tetradic
#25217D #7D214B #797D21 #217D53
square
#25217D #7D214B #797D21 #217D53
split-complementary
#25217D #7D5321 #4B7D21
monochromatic
#08071C #17144D #25217D #332EAD #4F49CF

Accessibility & contrast

On white

13.19
#25217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25217D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25217D#FFFFFF#000000##FFFFFF
##25217D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25217d;
/* rgb */ color: rgb(37, 33, 125);
/* oklch */ color: oklch(32.3% 0.149 276.0);
Tailwind
colors: {
  custom: {
    50: '#6d5da4',
    500: '#25217d',
    950: '#000000',
  },
}
SCSS
$custom: #25217d;
$custom-light: #6d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#25217d",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 242.609,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32329,
    "c": 0.1489,
    "h": 276
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#25217D
secondary
#ABB04A
accent
#E146DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #25217D

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

Preview Lab → · Contrast checker → · Palette generator →

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