#3A4FC3#3A4FC3

#3A4FC3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.182 H 270.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3A4FC3
RGBrgb(58, 79, 195)
HSLhsl(231, 54%, 50%)
HSVhsv(231, 70%, 76%)
CMYKcmyk(70.3%, 59.5%, 0%, 23.5%)
CIE-LABlab(38.60, 31.11, -63.06)
CIE-LCHlch(38.60, 70.32, 296.26°)
OKLaboklab(48.28% 0.0008 -0.1819)
OKLCHoklch(48.28% 0.182 270.3)
XYZxyz(14.3879, 10.4302, 52.8742)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FC3 #C3AE3A
analogous
#3A94C3 #3A4FC3 #6A3AC3
triadic
#3A4FC3 #C33A4F #4FC33A
tetradic
#3A4FC3 #C33A94 #C3AE3A #3AC36A
square
#3A4FC3 #C33A94 #C3AE3A #3AC36A
split-complementary
#3A4FC3 #C36A3A #94C33A
monochromatic
#1E2965 #2C3C94 #3A4FC3 #6878D2 #97A2E0

Accessibility & contrast

On white

6.80
#3A4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3A4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FC3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FC3#FFFFFF#000000##FFFFFF
##3A4FC31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a4fc3;
/* rgb */ color: rgb(58, 79, 195);
/* oklch */ color: oklch(48.3% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#8280d6',
    500: '#3a4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fc3;
$custom-light: #8280d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fc3",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 230.803,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.18187,
    "h": 270.3
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

primary
#3A4FC3
secondary
#CCC28D
accent
#C74ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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