#3C48B4#3C48B4

#3C48B4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.170 H 272.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3C48B4
RGBrgb(60, 72, 180)
HSLhsl(234, 50%, 47%)
HSVhsv(234, 67%, 71%)
CMYKcmyk(66.7%, 60%, 0%, 29.4%)
CIE-LABlab(35.77, 30.55, -58.86)
CIE-LCHlch(35.77, 66.32, 297.43°)
OKLaboklab(45.84% 0.0086 -0.1696)
OKLCHoklch(45.84% 0.17 272.9)
XYZxyz(12.4163, 8.8896, 44.2327)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C48B4 #B4A83C
analogous
#3C84B4 #3C48B4 #6C3CB4
triadic
#3C48B4 #B43C48 #48B43C
tetradic
#3C48B4 #B43C84 #B4A83C #3CB46C
square
#3C48B4 #B43C84 #B4A83C #3CB46C
split-complementary
#3C48B4 #B46C3C #84B43C
monochromatic
#1D2358 #2D3686 #3C48B4 #626DCB #9098DA

Accessibility & contrast

On white

7.56
#3C48B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3C48B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C48B4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C48B4#FFFFFF#000000##FFFFFF
##3C48B41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3c48b4;
/* rgb */ color: rgb(60, 72, 180);
/* oklch */ color: oklch(45.8% 0.170 272.9);
Tailwind
colors: {
  custom: {
    50: '#807bcb',
    500: '#3c48b4',
    950: '#000000',
  },
}
SCSS
$custom: #3c48b4;
$custom-light: #807bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c48b4",
  "rgb": {
    "r": 60,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 234,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.1698,
    "h": 272.9
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#3C48B4
secondary
#C5BF87
accent
#CC4EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3C48B4

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

Preview Lab → · Contrast checker → · Palette generator →

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