#3A3FC0#3A3FC0

#3A3FC0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.197 H 273.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3A3FC0
RGBrgb(58, 63, 192)
HSLhsl(238, 54%, 49%)
HSVhsv(238, 70%, 75%)
CMYKcmyk(69.8%, 67.2%, 0%, 24.7%)
CIE-LABlab(34.52, 40.09, -67.99)
CIE-LCHlch(34.52, 78.93, 300.53°)
OKLaboklab(45.2% 0.0124 -0.1964)
OKLCHoklch(45.2% 0.197 273.6)
XYZxyz(13.0337, 8.2591, 50.7662)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FC0 #C0BB3A
analogous
#3A82C0 #3A3FC0 #783AC0
triadic
#3A3FC0 #C03A3F #3FC03A
tetradic
#3A3FC0 #C03A82 #C0BB3A #3AC078
square
#3A3FC0 #C03A82 #C0BB3A #3AC078
split-complementary
#3A3FC0 #C0783A #82C03A
monochromatic
#1E2062 #2C3091 #3A3FC0 #666AD1 #9598DF

Accessibility & contrast

On white

7.92
#3A3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A3FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FC0
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FC0#FFFFFF#000000##FFFFFF
##3A3FC01.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3fc0;
/* rgb */ color: rgb(58, 63, 192);
/* oklch */ color: oklch(45.2% 0.197 273.6);
Tailwind
colors: {
  custom: {
    50: '#8274d4',
    500: '#3a3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fc0;
$custom-light: #8274d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fc0",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 237.761,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.19683,
    "h": 273.6
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#3A3FC0
secondary
#CAC88B
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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