#3C4FAB#3C4FAB

#3C4FAB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.148 H 270.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3C4FAB
RGBrgb(60, 79, 171)
HSLhsl(230, 48%, 45%)
HSVhsv(230, 65%, 67%)
CMYKcmyk(64.9%, 53.8%, 0%, 32.9%)
CIE-LABlab(36.91, 22.81, -51.67)
CIE-LCHlch(36.91, 56.48, 293.82°)
OKLaboklab(46.48% 0.002 -0.1483)
OKLCHoklch(46.48% 0.148 270.8)
XYZxyz(12.0077, 9.4918, 39.7195)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4FAB #AB983C
analogous
#3C86AB #3C4FAB #613CAB
triadic
#3C4FAB #AB3C4F #4FAB3C
tetradic
#3C4FAB #AB3C86 #AB983C #3CAB61
square
#3C4FAB #AB3C86 #AB983C #3CAB61
split-complementary
#3C4FAB #AB613C #86AB3C
monochromatic
#1C2550 #2C3A7E #3C4FAB #5E70C6 #8B98D6

Accessibility & contrast

On white

7.24
#3C4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3C4FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4FAB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4FAB#FFFFFF#000000##FFFFFF
##3C4FAB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c4fab;
/* rgb */ color: rgb(60, 79, 171);
/* oklch */ color: oklch(46.5% 0.148 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e80c5',
    500: '#3c4fab',
    950: '#000000',
  },
}
SCSS
$custom: #3c4fab;
$custom-light: #7e80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4fab",
  "rgb": {
    "r": 60,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 229.73,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.14836,
    "h": 270.8
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#3C4FAB
secondary
#C1B682
accent
#C050D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3C4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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