#25219A#25219A

#25219A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.186 H 273.0°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#25219A
RGBrgb(37, 33, 154)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 60%)
CMYKcmyk(76%, 78.6%, 0%, 39.6%)
CIE-LABlab(23.04, 42.65, -64.15)
CIE-LCHlch(23.04, 77.03, 303.62°)
OKLaboklab(35.5% 0.0097 -0.1856)
OKLCHoklch(35.5% 0.186 273)
XYZxyz(7.1376, 3.8134, 30.9255)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25219A #969A21
analogous
#215A9A #25219A #61219A
triadic
#25219A #9A2521 #219A25
tetradic
#25219A #9A215A #969A21 #219A61
square
#25219A #9A215A #969A21 #219A61
split-complementary
#25219A #9A6121 #5A9A21
monochromatic
#0D0B35 #191668 #25219A #312CCC #5E5ADC

Accessibility & contrast

On white

11.91
#25219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#25219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25219A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25219A#FFFFFF#000000##FFFFFF
##25219A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25219a;
/* rgb */ color: rgb(37, 33, 154);
/* oklch */ color: oklch(35.5% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#745fb9',
    500: '#25219a',
    950: '#000000',
  },
}
SCSS
$custom: #25219a;
$custom-light: #745fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#25219a",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 241.983,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35504,
    "c": 0.18588,
    "h": 273
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#25219A
secondary
#BCC057
accent
#E840E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25219A

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

Preview Lab → · Contrast checker → · Palette generator →

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