#25219C#25219C

#25219C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.188 H 272.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#25219C
RGBrgb(37, 33, 156)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(76.3%, 78.8%, 0%, 38.8%)
CIE-LABlab(23.27, 43.31, -65.00)
CIE-LCHlch(23.27, 78.10, 303.68°)
OKLaboklab(35.73% 0.0092 -0.1881)
OKLCHoklch(35.73% 0.188 272.8)
XYZxyz(7.3055, 3.8806, 31.8100)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25219C #989C21
analogous
#215B9C #25219C #62219C
triadic
#25219C #9C2521 #219C25
tetradic
#25219C #9C215B #989C21 #219C62
square
#25219C #9C215B #989C21 #219C62
split-complementary
#25219C #9C6221 #5B9C21
monochromatic
#0D0C37 #191669 #25219C #312CCF #5F5BDC

Accessibility & contrast

On white

11.82
#25219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#25219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25219C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25219C#FFFFFF#000000##FFFFFF
##25219C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25219c;
/* rgb */ color: rgb(37, 33, 156);
/* oklch */ color: oklch(35.7% 0.188 272.8);
Tailwind
colors: {
  custom: {
    50: '#755fbb',
    500: '#25219c',
    950: '#000000',
  },
}
SCSS
$custom: #25219c;
$custom-light: #755fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#25219c",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 241.951,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35731,
    "c": 0.18832,
    "h": 272.8
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#25219C
secondary
#BDC158
accent
#E840E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25219C

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

Preview Lab → · Contrast checker → · Palette generator →

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