#3A3FC7#3A3FC7

#3A3FC7 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.9% C 0.206 H 273.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC7
RGBrgb(58, 63, 199)
HSLhsl(238, 56%, 50%)
HSVhsv(238, 71%, 78%)
CMYKcmyk(70.9%, 68.3%, 0%, 22%)
CIE-LABlab(35.16, 42.47, -71.03)
CIE-LCHlch(35.16, 82.76, 300.88°)
OKLaboklab(45.86% 0.0116 -0.2053)
OKLCHoklch(45.86% 0.206 273.2)
XYZxyz(13.8278, 8.5767, 54.9485)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC7 #C7C23A
analogous
#3A86C7 #3A3FC7 #7B3AC7
triadic
#3A3FC7 #C73A3F #3FC73A
tetradic
#3A3FC7 #C73A86 #C7C23A #3AC77B
square
#3A3FC7 #C73A86 #C7C23A #3AC77B
split-complementary
#3A3FC7 #C77B3A #86C73A
monochromatic
#1E2069 #2B2F98 #3A3FC7 #6A6DD5 #999CE2

Accessibility & contrast

On white

7.73
#3A3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A3FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC7#FFFFFF#000000##FFFFFF
##3A3FC71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3fc7;
/* rgb */ color: rgb(58, 63, 199);
/* oklch */ color: oklch(45.9% 0.206 273.2);
Tailwind
colors: {
  custom: {
    50: '#8475d9',
    500: '#3a3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc7;
$custom-light: #8475d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc7",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 237.872,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45858,
    "c": 0.20567,
    "h": 273.2
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#3A3FC7
secondary
#CECC8F
accent
#DA49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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