#3C4EA8#3C4EA8

#3C4EA8 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.145 H 271.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3C4EA8
RGBrgb(60, 78, 168)
HSLhsl(230, 47%, 45%)
HSVhsv(230, 64%, 66%)
CMYKcmyk(64.3%, 53.6%, 0%, 34.1%)
CIE-LABlab(36.43, 22.39, -50.66)
CIE-LCHlch(36.43, 55.39, 293.84°)
OKLaboklab(46.05% 0.0028 -0.1454)
OKLCHoklch(46.05% 0.145 271.1)
XYZxyz(11.6534, 9.2356, 38.2067)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4EA8 #A8963C
analogous
#3C84A8 #3C4EA8 #603CA8
triadic
#3C4EA8 #A83C4E #4EA83C
tetradic
#3C4EA8 #A83C84 #A8963C #3CA860
square
#3C4EA8 #A83C84 #A8963C #3CA860
split-complementary
#3C4EA8 #A8603C #84A83C
monochromatic
#1C244E #2C397B #3C4EA8 #5C6EC5 #8996D5

Accessibility & contrast

On white

7.38
#3C4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3C4EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4EA8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4EA8#FFFFFF#000000##FFFFFF
##3C4EA81.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c4ea8;
/* rgb */ color: rgb(60, 78, 168);
/* oklch */ color: oklch(46.1% 0.145 271.1);
Tailwind
colors: {
  custom: {
    50: '#7d7fc2',
    500: '#3c4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3c4ea8;
$custom-light: #7d7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4ea8",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 230,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.14542,
    "h": 271.1
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#3C4EA8
secondary
#BFB580
accent
#C151D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3C4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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