#3A4FC1#3A4FC1

#3A4FC1 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.179 H 270.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3A4FC1
RGBrgb(58, 79, 193)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 76%)
CMYKcmyk(69.9%, 59.1%, 0%, 24.3%)
CIE-LABlab(38.45, 30.40, -62.15)
CIE-LCHlch(38.45, 69.18, 296.06°)
OKLaboklab(48.11% 0.0008 -0.1792)
OKLCHoklch(48.11% 0.179 270.3)
XYZxyz(14.1633, 10.3404, 51.6912)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FC1 #C1AC3A
analogous
#3A93C1 #3A4FC1 #693AC1
triadic
#3A4FC1 #C13A4F #4FC13A
tetradic
#3A4FC1 #C13A93 #C1AC3A #3AC169
square
#3A4FC1 #C13A93 #C1AC3A #3AC169
split-complementary
#3A4FC1 #C1693A #93C13A
monochromatic
#1E2863 #2C3C92 #3A4FC1 #6777D1 #96A1DF

Accessibility & contrast

On white

6.84
#3A4FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3A4FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FC1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FC1#FFFFFF#000000##FFFFFF
##3A4FC11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4fc1;
/* rgb */ color: rgb(58, 79, 193);
/* oklch */ color: oklch(48.1% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#8180d5',
    500: '#3a4fc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fc1;
$custom-light: #8180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fc1",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 193
  },
  "hsl": {
    "h": 230.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.1792,
    "h": 270.3
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#3A4FC1
secondary
#CBC18C
accent
#C64BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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