#3C48AB#3C48AB

#3C48AB is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.157 H 273.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3C48AB
RGBrgb(60, 72, 171)
HSLhsl(234, 48%, 45%)
HSVhsv(234, 65%, 67%)
CMYKcmyk(64.9%, 57.9%, 0%, 32.9%)
CIE-LABlab(35.07, 27.37, -54.66)
CIE-LCHlch(35.07, 61.13, 296.60°)
OKLaboklab(45.1% 0.0086 -0.1572)
OKLCHoklch(45.1% 0.157 273.1)
XYZxyz(11.5291, 8.5347, 39.5600)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C48AB #AB9F3C
analogous
#3C7FAB #3C48AB #683CAB
triadic
#3C48AB #AB3C48 #48AB3C
tetradic
#3C48AB #AB3C7F #AB9F3C #3CAB68
square
#3C48AB #AB3C7F #AB9F3C #3CAB68
split-complementary
#3C48AB #AB683C #7FAB3C
monochromatic
#1C2250 #2C357E #3C48AB #5E69C6 #8B93D6

Accessibility & contrast

On white

7.76
#3C48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C48AB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C48AB#FFFFFF#000000##FFFFFF
##3C48AB1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3c48ab;
/* rgb */ color: rgb(60, 72, 171);
/* oklch */ color: oklch(45.1% 0.157 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e7ac5',
    500: '#3c48ab',
    950: '#000000',
  },
}
SCSS
$custom: #3c48ab;
$custom-light: #7e7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c48ab",
  "rgb": {
    "r": 60,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 233.514,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.451,
    "c": 0.15744,
    "h": 273.1
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#3C48AB
secondary
#C1BA82
accent
#C950D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3C48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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