#3A3FC6#3A3FC6

#3A3FC6 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.204 H 273.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC6
RGBrgb(58, 63, 198)
HSLhsl(238, 55%, 50%)
HSVhsv(238, 71%, 78%)
CMYKcmyk(70.7%, 68.2%, 0%, 22.4%)
CIE-LABlab(35.06, 42.13, -70.60)
CIE-LCHlch(35.06, 82.22, 300.83°)
OKLaboklab(45.76% 0.0117 -0.2041)
OKLCHoklch(45.76% 0.204 273.3)
XYZxyz(13.7121, 8.5304, 54.3390)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC6 #C6C13A
analogous
#3A85C6 #3A3FC6 #7B3AC6
triadic
#3A3FC6 #C63A3F #3FC63A
tetradic
#3A3FC6 #C63A85 #C6C13A #3AC67B
square
#3A3FC6 #C63A85 #C6C13A #3AC67B
split-complementary
#3A3FC6 #C67B3A #85C63A
monochromatic
#1E2168 #2C3097 #3A3FC6 #696DD4 #999CE1

Accessibility & contrast

On white

7.76
#3A3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A3FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC6#FFFFFF#000000##FFFFFF
##3A3FC61.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3fc6;
/* rgb */ color: rgb(58, 63, 198);
/* oklch */ color: oklch(45.8% 0.204 273.3);
Tailwind
colors: {
  custom: {
    50: '#8475d8',
    500: '#3a3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc6;
$custom-light: #8475d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc6",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 237.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.20441,
    "h": 273.3
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#3A3FC6
secondary
#CDCB8F
accent
#D949DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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