#3D25C6#3D25C6

#3D25C6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.5% C 0.228 H 277.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3D25C6
RGBrgb(61, 37, 198)
HSLhsl(249, 69%, 46%)
HSVhsv(249, 81%, 78%)
CMYKcmyk(69.2%, 81.3%, 0%, 22.4%)
CIE-LABlab(30.38, 56.22, -78.32)
CIE-LCHlch(30.38, 96.41, 305.67°)
OKLaboklab(42.5% 0.0287 -0.2263)
OKLCHoklch(42.5% 0.228 277.2)
XYZxyz(12.7758, 6.3913, 53.9755)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25C6 #AEC625
analogous
#255DC6 #3D25C6 #8D25C6
triadic
#3D25C6 #C63D25 #25C63D
tetradic
#3D25C6 #C6255D #AEC625 #25C68D
square
#3D25C6 #C6255D #AEC625 #25C68D
split-complementary
#3D25C6 #C68D25 #5DC625
monochromatic
#1D125F #2D1B92 #3D25C6 #614BDD #8E7EE7

Accessibility & contrast

On white

9.22
#3D25C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3D25C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D25C6
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25C6#FFFFFF#000000##FFFFFF
##3D25C61.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#0041C3
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3d25c6;
/* rgb */ color: rgb(61, 37, 198);
/* oklch */ color: oklch(42.5% 0.228 277.2);
Tailwind
colors: {
  custom: {
    50: '#8765d9',
    500: '#3d25c6',
    950: '#000000',
  },
}
SCSS
$custom: #3d25c6;
$custom-light: #8765d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25c6",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 248.944,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.22811,
    "h": 277.2
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#3D25C6
secondary
#C2CF77
accent
#EB3CD1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3D25C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3D25C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva