#3A3FC3#3A3FC3

#3A3FC3 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.5% C 0.201 H 273.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC3
RGBrgb(58, 63, 195)
HSLhsl(238, 54%, 50%)
HSVhsv(238, 70%, 76%)
CMYKcmyk(70.3%, 67.7%, 0%, 23.5%)
CIE-LABlab(34.79, 41.11, -69.30)
CIE-LCHlch(34.79, 80.58, 300.68°)
OKLaboklab(45.48% 0.012 -0.2003)
OKLCHoklch(45.48% 0.201 273.4)
XYZxyz(13.3695, 8.3934, 52.5347)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC3 #C3BE3A
analogous
#3A84C3 #3A3FC3 #793AC3
triadic
#3A3FC3 #C33A3F #3FC33A
tetradic
#3A3FC3 #C33A84 #C3BE3A #3AC379
square
#3A3FC3 #C33A84 #C3BE3A #3AC379
split-complementary
#3A3FC3 #C3793A #84C33A
monochromatic
#1E2165 #2C3094 #3A3FC3 #686CD2 #979AE0

Accessibility & contrast

On white

7.84
#3A3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A3FC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC3#FFFFFF#000000##FFFFFF
##3A3FC31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3fc3;
/* rgb */ color: rgb(58, 63, 195);
/* oklch */ color: oklch(45.5% 0.201 273.4);
Tailwind
colors: {
  custom: {
    50: '#8375d6',
    500: '#3a3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc3;
$custom-light: #8375d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc3",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 237.81,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.20063,
    "h": 273.4
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#3A3FC3
secondary
#CCC98D
accent
#D84ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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