#3C4FA8#3C4FA8

#3C4FA8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.144 H 270.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3C4FA8
RGBrgb(60, 79, 168)
HSLhsl(229, 47%, 45%)
HSVhsv(229, 64%, 66%)
CMYKcmyk(64.3%, 53%, 0%, 34.1%)
CIE-LABlab(36.70, 21.73, -50.23)
CIE-LCHlch(36.70, 54.73, 293.40°)
OKLaboklab(46.25% 0.0018 -0.1441)
OKLCHoklch(46.25% 0.144 270.7)
XYZxyz(11.7250, 9.3788, 38.2306)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4FA8 #A8953C
analogous
#3C85A8 #3C4FA8 #5F3CA8
triadic
#3C4FA8 #A83C4F #4FA83C
tetradic
#3C4FA8 #A83C85 #A8953C #3CA85F
square
#3C4FA8 #A83C85 #A8953C #3CA85F
split-complementary
#3C4FA8 #A85F3C #85A83C
monochromatic
#1C254E #2C3A7B #3C4FA8 #5C6FC5 #8997D5

Accessibility & contrast

On white

7.30
#3C4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3C4FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4FA8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4FA8#FFFFFF#000000##FFFFFF
##3C4FA81.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c4fa8;
/* rgb */ color: rgb(60, 79, 168);
/* oklch */ color: oklch(46.3% 0.144 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d80c2',
    500: '#3c4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3c4fa8;
$custom-light: #7d80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4fa8",
  "rgb": {
    "r": 60,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 229.444,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.14411,
    "h": 270.7
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#3C4FA8
secondary
#BFB480
accent
#BF51D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3C4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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