#3C25B3#3C25B3

#3C25B3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.4% C 0.207 H 279.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3C25B3
RGBrgb(60, 37, 179)
HSLhsl(250, 66%, 42%)
HSVhsv(250, 79%, 70%)
CMYKcmyk(66.5%, 79.3%, 0%, 29.8%)
CIE-LABlab(28.21, 50.54, -70.67)
CIE-LCHlch(28.21, 86.88, 305.57°)
OKLaboklab(40.37% 0.0327 -0.2041)
OKLCHoklch(40.37% 0.207 279.1)
XYZxyz(10.6591, 5.5376, 43.1462)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C25B3 #9CB325
analogous
#2555B3 #3C25B3 #8325B3
triadic
#3C25B3 #B33C25 #25B33C
tetradic
#3C25B3 #B32555 #9CB325 #25B383
square
#3C25B3 #B32555 #9CB325 #25B383
split-complementary
#3C25B3 #B38325 #55B325
monochromatic
#1A104E #2B1B80 #3C25B3 #573ED7 #8371E2

Accessibility & contrast

On white

9.96
#3C25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3C25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C25B3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C25B3#FFFFFF#000000##FFFFFF
##3C25B31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c25b3;
/* rgb */ color: rgb(60, 37, 179);
/* oklch */ color: oklch(40.4% 0.207 279.1);
Tailwind
colors: {
  custom: {
    50: '#8364cb',
    500: '#3c25b3',
    950: '#000000',
  },
}
SCSS
$custom: #3c25b3;
$custom-light: #8364cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c25b3",
  "rgb": {
    "r": 60,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 249.718,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.20669,
    "h": 279.1
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#3C25B3
secondary
#B9C86B
accent
#E93FCD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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