#3C46B2#3C46B2

#3C46B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.170 H 273.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3C46B2
RGBrgb(60, 70, 178)
HSLhsl(235, 50%, 47%)
HSVhsv(235, 66%, 70%)
CMYKcmyk(66.3%, 60.7%, 0%, 30.2%)
CIE-LABlab(35.11, 31.13, -58.75)
CIE-LCHlch(35.11, 66.49, 297.91°)
OKLaboklab(45.3% 0.0103 -0.1693)
OKLCHoklch(45.3% 0.17 273.5)
XYZxyz(12.0868, 8.5543, 43.1250)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C46B2 #B2A83C
analogous
#3C81B2 #3C46B2 #6D3CB2
triadic
#3C46B2 #B23C46 #46B23C
tetradic
#3C46B2 #B23C81 #B2A83C #3CB26D
square
#3C46B2 #B23C81 #B2A83C #3CB26D
split-complementary
#3C46B2 #B26D3C #81B23C
monochromatic
#1D2256 #2D3484 #3C46B2 #616ACA #8F95D9

Accessibility & contrast

On white

7.75
#3C46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3C46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C46B2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C46B2#FFFFFF#000000##FFFFFF
##3C46B21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c46b2;
/* rgb */ color: rgb(60, 70, 178);
/* oklch */ color: oklch(45.3% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#8079ca',
    500: '#3c46b2',
    950: '#000000',
  },
}
SCSS
$custom: #3c46b2;
$custom-light: #8079ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c46b2",
  "rgb": {
    "r": 60,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 234.915,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.453,
    "c": 0.16959,
    "h": 273.5
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#3C46B2
secondary
#C4BF86
accent
#CD4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3C46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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