#3C52AF#3C52AF

#3C52AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.150 H 269.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3C52AF
RGBrgb(60, 82, 175)
HSLhsl(229, 49%, 46%)
HSVhsv(229, 66%, 69%)
CMYKcmyk(65.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(38.00, 22.29, -52.29)
CIE-LCHlch(38.00, 56.84, 293.08°)
OKLaboklab(47.39% -0.0005 -0.1501)
OKLCHoklch(47.39% 0.15 269.8)
XYZxyz(12.6160, 10.0892, 41.8317)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C52AF #AF993C
analogous
#3C8BAF #3C52AF #5F3CAF
triadic
#3C52AF #AF3C52 #52AF3C
tetradic
#3C52AF #AF3C8B #AF993C #3CAF5F
square
#3C52AF #AF3C8B #AF993C #3CAF5F
split-complementary
#3C52AF #AF5F3C #8BAF3C
monochromatic
#1D2754 #2C3D81 #3C52AF #6074C8 #8D9CD8

Accessibility & contrast

On white

6.96
#3C52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3C52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C52AF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C52AF#FFFFFF#000000##FFFFFF
##3C52AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3c52af;
/* rgb */ color: rgb(60, 82, 175);
/* oklch */ color: oklch(47.4% 0.150 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e82c7',
    500: '#3c52af',
    950: '#000000',
  },
}
SCSS
$custom: #3c52af;
$custom-light: #7e82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c52af",
  "rgb": {
    "r": 60,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 228.522,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.15012,
    "h": 269.8
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#3C52AF
secondary
#C3B784
accent
#BE4FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3C52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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