#3C40DE#3C40DE

#3C40DE is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.232 H 272.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3C40DE
RGBrgb(60, 64, 222)
HSLhsl(239, 71%, 55%)
HSVhsv(239, 73%, 87%)
CMYKcmyk(73%, 71.2%, 0%, 12.9%)
CIE-LABlab(37.66, 49.73, -80.19)
CIE-LCHlch(37.66, 94.36, 301.81°)
OKLaboklab(48.35% 0.0102 -0.232)
OKLCHoklch(48.35% 0.232 272.5)
XYZxyz(16.8773, 9.8996, 70.1144)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C40DE #DEDA3C
analogous
#3C91DE #3C40DE #893CDE
triadic
#3C40DE #DE3C40 #40DE3C
tetradic
#3C40DE #DE3C91 #DEDA3C #3CDE89
square
#3C40DE #DE3C91 #DEDA3C #3CDE89
split-complementary
#3C40DE #DE893C #91DE3C
monochromatic
#171A88 #2024BD #3C40DE #7073E7 #A5A7F0

Accessibility & contrast

On white

7.05
#3C40DE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3C40DE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C40DE
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C40DE#FFFFFF#000000##FFFFFF
##3C40DE1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E3
Deuteranopia (green-blind)
#0051DB
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3c40de;
/* rgb */ color: rgb(60, 64, 222);
/* oklch */ color: oklch(48.3% 0.232 272.5);
Tailwind
colors: {
  custom: {
    50: '#8a76ea',
    500: '#3c40de',
    950: '#000000',
  },
}
SCSS
$custom: #3c40de;
$custom-light: #8a76ea;
$custom-dark: #000000;
JSON
{
  "hex": "#3c40de",
  "rgb": {
    "r": 60,
    "g": 64,
    "b": 222
  },
  "hsl": {
    "h": 238.519,
    "s": 71.053,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.23224,
    "h": 272.5
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#3C40DE
secondary
#DDDB99
accent
#E93AEE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3C40DE

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

Preview Lab → · Contrast checker → · Palette generator →

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