#3404FF#3404FF

#3404FF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.8% C 0.303 H 270.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3404FF
RGBrgb(52, 4, 255)
HSLhsl(251, 100%, 51%)
HSVhsv(251, 98%, 100%)
CMYKcmyk(79.6%, 98.4%, 0%, 0%)
CIE-LABlab(34.05, 79.16, -104.88)
CIE-LCHlch(34.05, 131.40, 307.04°)
OKLaboklab(46.82% 0.0046 -0.3028)
OKLCHoklch(46.82% 0.303 270.9)
XYZxyz(19.5035, 8.0346, 95.1113)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3404FF #CFFF04
analogous
#0451FF #3404FF #B104FF
triadic
#3404FF #FF3404 #04FF34
tetradic
#3404FF #FF0451 #CFFF04 #04FFB1
square
#3404FF #FF0451 #CFFF04 #04FFB1
split-complementary
#3404FF #FFB104 #51FF04
monochromatic
#1A0089 #2600C6 #3404FF #6541FF #977EFF

Accessibility & contrast

On white

8.05
#3404FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3404FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3404FF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3404FF#FFFFFF#000000##FFFFFF
##3404FF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BFF
Deuteranopia (green-blind)
#0044FB
Tritanopia (blue-blind)
#006B96
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3404ff;
/* rgb */ color: rgb(52, 4, 255);
/* oklch */ color: oklch(46.8% 0.303 270.9);
Tailwind
colors: {
  custom: {
    50: '#9260ff',
    500: '#3404ff',
    950: '#000000',
  },
}
SCSS
$custom: #3404ff;
$custom-light: #9260ff;
$custom-dark: #000000;
JSON
{
  "hex": "#3404ff",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 255
  },
  "hsl": {
    "h": 251.474,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.30282,
    "h": 270.9
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#3404FF
secondary
#D2E778
accent
#FF29D6
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86

Preview Lab

Preview with #3404FF

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

Preview Lab → · Contrast checker → · Palette generator →

#3404FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva