#25219B#25219B

#25219B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.187 H 272.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#25219B
RGBrgb(37, 33, 155)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(76.1%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.16, 42.98, -64.57)
CIE-LCHlch(23.16, 77.57, 303.65°)
OKLaboklab(35.62% 0.0095 -0.1869)
OKLCHoklch(35.62% 0.187 272.9)
XYZxyz(7.2212, 3.8468, 31.3659)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25219B #979B21
analogous
#215A9B #25219B #62219B
triadic
#25219B #9B2521 #219B25
tetradic
#25219B #9B215A #979B21 #219B62
square
#25219B #9B215A #979B21 #219B62
split-complementary
#25219B #9B6221 #5A9B21
monochromatic
#0D0C36 #191669 #25219B #312CCD #5F5ADC

Accessibility & contrast

On white

11.87
#25219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#25219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25219B
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25219B#FFFFFF#000000##FFFFFF
##25219B1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25219b;
/* rgb */ color: rgb(37, 33, 155);
/* oklch */ color: oklch(35.6% 0.187 272.9);
Tailwind
colors: {
  custom: {
    50: '#745fba',
    500: '#25219b',
    950: '#000000',
  },
}
SCSS
$custom: #25219b;
$custom-light: #745fba;
$custom-dark: #000000;
JSON
{
  "hex": "#25219b",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 241.967,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.1871,
    "h": 272.9
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25219B

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

Preview Lab → · Contrast checker → · Palette generator →

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