#3A3FC5#3A3FC5

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

Color values

HEX#3A3FC5
RGBrgb(58, 63, 197)
HSLhsl(238, 55%, 50%)
HSVhsv(238, 71%, 77%)
CMYKcmyk(70.6%, 68%, 0%, 22.7%)
CIE-LABlab(34.97, 41.79, -70.17)
CIE-LCHlch(34.97, 81.67, 300.78°)
OKLaboklab(45.67% 0.0118 -0.2028)
OKLCHoklch(45.67% 0.203 273.3)
XYZxyz(13.5971, 8.4844, 53.7336)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC5 #C5C03A
analogous
#3A84C5 #3A3FC5 #7B3AC5
triadic
#3A3FC5 #C53A3F #3FC53A
tetradic
#3A3FC5 #C53A84 #C5C03A #3AC57B
square
#3A3FC5 #C53A84 #C5C03A #3AC57B
split-complementary
#3A3FC5 #C57B3A #84C53A
monochromatic
#1E2166 #2C3096 #3A3FC5 #696DD3 #999BE1

Accessibility & contrast

On white

7.79
#3A3FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A3FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC5#FFFFFF#000000##FFFFFF
##3A3FC51.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3fc5;
/* rgb */ color: rgb(58, 63, 197);
/* oklch */ color: oklch(45.7% 0.203 273.3);
Tailwind
colors: {
  custom: {
    50: '#8375d8',
    500: '#3a3fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc5;
$custom-light: #8375d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc5",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 237.842,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.20316,
    "h": 273.3
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#3A3FC5
secondary
#CDCA8E
accent
#D94ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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