#25219F#25219F

#25219F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.192 H 272.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#25219F
RGBrgb(37, 33, 159)
HSLhsl(242, 66%, 38%)
HSVhsv(242, 79%, 62%)
CMYKcmyk(76.7%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.62, 44.29, -66.26)
CIE-LCHlch(23.62, 79.70, 303.76°)
OKLaboklab(36.07% 0.0086 -0.1918)
OKLCHoklch(36.07% 0.192 272.6)
XYZxyz(7.5627, 3.9834, 33.1645)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25219F #9B9F21
analogous
#215C9F #25219F #64219F
triadic
#25219F #9F2521 #219F25
tetradic
#25219F #9F215C #9B9F21 #219F64
square
#25219F #9F215C #9B9F21 #219F64
split-complementary
#25219F #9F6421 #5C9F21
monochromatic
#0D0C3A #19166C #25219F #312CD2 #615DDD

Accessibility & contrast

On white

11.69
#25219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#25219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25219F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25219F#FFFFFF#000000##FFFFFF
##25219F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #25219f;
/* rgb */ color: rgb(37, 33, 159);
/* oklch */ color: oklch(36.1% 0.192 272.6);
Tailwind
colors: {
  custom: {
    50: '#755fbd',
    500: '#25219f',
    950: '#000000',
  },
}
SCSS
$custom: #25219f;
$custom-light: #755fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#25219f",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 241.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.19195,
    "h": 272.6
  },
  "luminance": 0.03984
}

Semantic roles & 50–950 ramp

primary
#25219F
secondary
#BFC25A
accent
#E93FE3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25219F

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

Preview Lab → · Contrast checker → · Palette generator →

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