#3341E2#3341E2

#3341E2 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.238 H 270.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3341E2
RGBrgb(51, 65, 226)
HSLhsl(235, 75%, 54%)
HSVhsv(235, 77%, 89%)
CMYKcmyk(77.4%, 71.2%, 0%, 11.4%)
CIE-LABlab(37.79, 49.72, -82.27)
CIE-LCHlch(37.79, 96.13, 301.15°)
OKLaboklab(48.43% -0.0001 -0.2383)
OKLCHoklch(48.43% 0.238 270)
XYZxyz(16.9783, 9.9735, 72.9670)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341E2 #E2D433
analogous
#3399E2 #3341E2 #7D33E2
triadic
#3341E2 #E23341 #41E233
tetradic
#3341E2 #E23399 #E2D433 #33E27D
square
#3341E2 #E23399 #E2D433 #33E27D
split-complementary
#3341E2 #E27D33 #99E233
monochromatic
#131D87 #1B28BD #3341E2 #6973EA #9EA5F1

Accessibility & contrast

On white

7.01
#3341E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3341E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341E2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341E2#FFFFFF#000000##FFFFFF
##3341E21.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E7
Deuteranopia (green-blind)
#0050DF
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3341e2;
/* rgb */ color: rgb(51, 65, 226);
/* oklch */ color: oklch(48.4% 0.238 270.0);
Tailwind
colors: {
  custom: {
    50: '#8777ec',
    500: '#3341e2',
    950: '#000000',
  },
}
SCSS
$custom: #3341e2;
$custom-light: #8777ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3341e2",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 235.2,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.23827,
    "h": 270
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#3341E2
secondary
#DED893
accent
#E336F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3341E2

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

Preview Lab → · Contrast checker → · Palette generator →

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