#3C4DBA#3C4DBA

#3C4DBA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.172 H 271.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3C4DBA
RGBrgb(60, 77, 186)
HSLhsl(232, 51%, 48%)
HSVhsv(232, 68%, 73%)
CMYKcmyk(67.7%, 58.6%, 0%, 27.1%)
CIE-LABlab(37.50, 29.47, -59.58)
CIE-LCHlch(37.50, 66.47, 296.32°)
OKLaboklab(47.27% 0.0044 -0.1716)
OKLCHoklch(47.27% 0.172 271.5)
XYZxyz(13.3773, 9.8123, 47.6338)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4DBA #BAA93C
analogous
#3C8CBA #3C4DBA #6A3CBA
triadic
#3C4DBA #BA3C4D #4DBA3C
tetradic
#3C4DBA #BA3C8C #BAA93C #3CBA6A
square
#3C4DBA #BA3C8C #BAA93C #3CBA6A
split-complementary
#3C4DBA #BA6A3C #8CBA3C
monochromatic
#1E275D #2D3A8C #3C4DBA #6674CE #949EDC

Accessibility & contrast

On white

7.09
#3C4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3C4DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4DBA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4DBA#FFFFFF#000000##FFFFFF
##3C4DBA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3c4dba;
/* rgb */ color: rgb(60, 77, 186);
/* oklch */ color: oklch(47.3% 0.172 271.5);
Tailwind
colors: {
  custom: {
    50: '#817ed0',
    500: '#3c4dba',
    950: '#000000',
  },
}
SCSS
$custom: #3c4dba;
$custom-light: #817ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4dba",
  "rgb": {
    "r": 60,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 231.905,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47271,
    "c": 0.17169,
    "h": 271.5
  },
  "luminance": 0.09814
}

Semantic roles & 50–950 ramp

primary
#3C4DBA
secondary
#C8BF8A
accent
#C84DDB
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3C4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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