#3A4FCC#3A4FCC

#3A4FCC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.194 H 270.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A4FCC
RGBrgb(58, 79, 204)
HSLhsl(231, 59%, 51%)
HSVhsv(231, 72%, 80%)
CMYKcmyk(71.6%, 61.3%, 0%, 20%)
CIE-LABlab(39.33, 34.32, -67.10)
CIE-LCHlch(39.33, 75.37, 297.09°)
OKLaboklab(49.04% 0.0007 -0.1937)
OKLCHoklch(49.04% 0.194 270.2)
XYZxyz(15.4363, 10.8496, 58.3957)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FCC #CCB73A
analogous
#3A98CC #3A4FCC #6E3ACC
triadic
#3A4FCC #CC3A4F #4FCC3A
tetradic
#3A4FCC #CC3A98 #CCB73A #3ACC6E
square
#3A4FCC #CC3A98 #CCB73A #3ACC6E
split-complementary
#3A4FCC #CC6E3A #98CC3A
monochromatic
#1D296F #293AA0 #3A4FCC #6B7AD9 #9BA6E5

Accessibility & contrast

On white

6.62
#3A4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FCC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FCC#FFFFFF#000000##FFFFFF
##3A4FCC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a4fcc;
/* rgb */ color: rgb(58, 79, 204);
/* oklch */ color: oklch(49.0% 0.194 270.2);
Tailwind
colors: {
  custom: {
    50: '#8480dd',
    500: '#3a4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fcc;
$custom-light: #8480dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fcc",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 231.37,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.19375,
    "h": 270.2
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#3A4FCC
secondary
#D1C891
accent
#CC46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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