#3C45C7#3C45C7

#3C45C7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.198 H 272.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3C45C7
RGBrgb(60, 69, 199)
HSLhsl(236, 55%, 51%)
HSVhsv(236, 70%, 78%)
CMYKcmyk(69.8%, 65.3%, 0%, 22%)
CIE-LABlab(36.63, 39.06, -68.61)
CIE-LCHlch(36.63, 78.95, 299.65°)
OKLaboklab(46.96% 0.0099 -0.1982)
OKLCHoklch(46.96% 0.198 272.9)
XYZxyz(14.2969, 9.3390, 55.0709)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C45C7 #C7BE3C
analogous
#3C8AC7 #3C45C7 #783CC7
triadic
#3C45C7 #C73C45 #45C73C
tetradic
#3C45C7 #C73C8A #C7BE3C #3CC778
square
#3C45C7 #C73C8A #C7BE3C #3CC778
split-complementary
#3C45C7 #C7783C #8AC73C
monochromatic
#1E236A #2C339A #3C45C7 #6C72D5 #9BA0E2

Accessibility & contrast

On white

7.32
#3C45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3C45C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C45C7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C45C7#FFFFFF#000000##FFFFFF
##3C45C71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c45c7;
/* rgb */ color: rgb(60, 69, 199);
/* oklch */ color: oklch(47.0% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#8479d9',
    500: '#3c45c7',
    950: '#000000',
  },
}
SCSS
$custom: #3c45c7;
$custom-light: #8479d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c45c7",
  "rgb": {
    "r": 60,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 236.115,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.19844,
    "h": 272.9
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#3C45C7
secondary
#CECA91
accent
#D549DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3C45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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