#3A4FC5#3A4FC5

#3A4FC5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.185 H 270.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3A4FC5
RGBrgb(58, 79, 197)
HSLhsl(231, 55%, 50%)
HSVhsv(231, 71%, 77%)
CMYKcmyk(70.6%, 59.9%, 0%, 22.7%)
CIE-LABlab(38.76, 31.83, -63.96)
CIE-LCHlch(38.76, 71.45, 296.46°)
OKLaboklab(48.45% 0.0008 -0.1845)
OKLCHoklch(48.45% 0.185 270.2)
XYZxyz(14.6155, 10.5213, 54.0731)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FC5 #C5B03A
analogous
#3A95C5 #3A4FC5 #6A3AC5
triadic
#3A4FC5 #C53A4F #4FC53A
tetradic
#3A4FC5 #C53A95 #C5B03A #3AC56A
square
#3A4FC5 #C53A95 #C5B03A #3AC56A
split-complementary
#3A4FC5 #C56A3A #95C53A
monochromatic
#1E2966 #2C3C96 #3A4FC5 #6979D3 #99A3E1

Accessibility & contrast

On white

6.76
#3A4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3A4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FC5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FC5#FFFFFF#000000##FFFFFF
##3A4FC51.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a4fc5;
/* rgb */ color: rgb(58, 79, 197);
/* oklch */ color: oklch(48.4% 0.185 270.2);
Tailwind
colors: {
  custom: {
    50: '#8280d7',
    500: '#3a4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fc5;
$custom-light: #8280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fc5",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 230.935,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.18453,
    "h": 270.2
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#3A4FC5
secondary
#CDC38E
accent
#C84ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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