#3C52D3#3C52D3

#3C52D3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.199 H 270.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3C52D3
RGBrgb(60, 82, 211)
HSLhsl(231, 63%, 53%)
HSVhsv(231, 72%, 83%)
CMYKcmyk(71.6%, 61.1%, 0%, 17.3%)
CIE-LABlab(40.73, 35.15, -68.84)
CIE-LCHlch(40.73, 77.30, 297.05°)
OKLaboklab(50.28% 0.0004 -0.1988)
OKLCHoklch(50.28% 0.199 270.1)
XYZxyz(16.6346, 11.6967, 62.9964)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52D3 #D3BD3C
analogous
#3C9ED3 #3C52D3 #713CD3
triadic
#3C52D3 #D33C52 #52D33C
tetradic
#3C52D3 #D33C9E #D3BD3C #3CD371
square
#3C52D3 #D33C9E #D3BD3C #3CD371
split-complementary
#3C52D3 #D3713C #9ED33C
monochromatic
#1B2979 #273AAB #3C52D3 #6E7EDE #A0ABEA

Accessibility & contrast

On white

6.29
#3C52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3C52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52D3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52D3#FFFFFF#000000##FFFFFF
##3C52D31.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c52d3;
/* rgb */ color: rgb(60, 82, 211);
/* oklch */ color: oklch(50.3% 0.199 270.1);
Tailwind
colors: {
  custom: {
    50: '#8682e1',
    500: '#3c52d3',
    950: '#000000',
  },
}
SCSS
$custom: #3c52d3;
$custom-light: #8682e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52d3",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 231.258,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.19878,
    "h": 270.1
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#3C52D3
secondary
#D6CC95
accent
#CE42E6
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3C52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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