#3C4EB2#3C4EB2

#3C4EB2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.159 H 271.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3C4EB2
RGBrgb(60, 78, 178)
HSLhsl(231, 50%, 47%)
HSVhsv(231, 66%, 70%)
CMYKcmyk(66.3%, 56.2%, 0%, 30.2%)
CIE-LABlab(37.16, 25.96, -55.43)
CIE-LCHlch(37.16, 61.21, 295.10°)
OKLaboklab(46.82% 0.0033 -0.1594)
OKLCHoklch(46.82% 0.159 271.2)
XYZxyz(12.6210, 9.6226, 43.3031)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4EB2 #B2A03C
analogous
#3C89B2 #3C4EB2 #653CB2
triadic
#3C4EB2 #B23C4E #4EB23C
tetradic
#3C4EB2 #B23C89 #B2A03C #3CB265
square
#3C4EB2 #B23C89 #B2A03C #3CB265
split-complementary
#3C4EB2 #B2653C #89B23C
monochromatic
#1D2656 #2D3A84 #3C4EB2 #6171CA #8F9AD9

Accessibility & contrast

On white

7.18
#3C4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3C4EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4EB2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4EB2#FFFFFF#000000##FFFFFF
##3C4EB21.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c4eb2;
/* rgb */ color: rgb(60, 78, 178);
/* oklch */ color: oklch(46.8% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#7f7fca',
    500: '#3c4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3c4eb2;
$custom-light: #7f7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4eb2",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 230.847,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.15945,
    "h": 271.2
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#3C4EB2
secondary
#C4BB86
accent
#C44FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3C4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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