#3342E2#3342E2

#3342E2 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.237 H 269.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3342E2
RGBrgb(51, 66, 226)
HSLhsl(235, 75%, 54%)
HSVhsv(235, 77%, 89%)
CMYKcmyk(77.4%, 70.8%, 0%, 11.4%)
CIE-LABlab(38.00, 49.14, -81.93)
CIE-LCHlch(38.00, 95.54, 300.96°)
OKLaboklab(48.58% -0.0005 -0.2373)
OKLCHoklch(48.58% 0.237 269.9)
XYZxyz(17.0362, 10.0893, 72.9863)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3342E2 #E2D333
analogous
#339AE2 #3342E2 #7C33E2
triadic
#3342E2 #E23342 #42E233
tetradic
#3342E2 #E2339A #E2D333 #33E27C
square
#3342E2 #E2339A #E2D333 #33E27C
split-complementary
#3342E2 #E27C33 #9AE233
monochromatic
#131D87 #1B29BD #3342E2 #6974EA #9EA5F1

Accessibility & contrast

On white

6.96
#3342E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3342E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3342E2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3342E2#FFFFFF#000000##FFFFFF
##3342E21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0051DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3342e2;
/* rgb */ color: rgb(51, 66, 226);
/* oklch */ color: oklch(48.6% 0.237 269.9);
Tailwind
colors: {
  custom: {
    50: '#8777ec',
    500: '#3342e2',
    950: '#000000',
  },
}
SCSS
$custom: #3342e2;
$custom-light: #8777ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3342e2",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 234.857,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.23728,
    "h": 269.9
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#3342E2
secondary
#DED793
accent
#E236F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3342E2

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

Preview Lab → · Contrast checker → · Palette generator →

#3342E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva