#3333E2#3333E2

#3333E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.251 H 271.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3333E2
RGBrgb(51, 51, 226)
HSLhsl(240, 75%, 54%)
HSVhsv(240, 77%, 89%)
CMYKcmyk(77.4%, 77.4%, 0%, 11.4%)
CIE-LABlab(35.12, 57.27, -86.69)
CIE-LCHlch(35.12, 103.90, 303.45°)
OKLaboklab(46.54% 0.0049 -0.251)
OKLCHoklch(46.54% 0.251 271.1)
XYZxyz(16.2719, 8.5606, 72.7315)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333E2 #E2E233
analogous
#338BE2 #3333E2 #8B33E2
triadic
#3333E2 #E23333 #33E233
tetradic
#3333E2 #E2338B #E2E233 #33E28B
square
#3333E2 #E2338B #E2E233 #33E28B
split-complementary
#3333E2 #E28B33 #8BE233
monochromatic
#131387 #1B1BBD #3333E2 #6969EA #9E9EF1

Accessibility & contrast

On white

7.74
#3333E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3333E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333E2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333E2#FFFFFF#000000##FFFFFF
##3333E21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#00698A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3333e2;
/* rgb */ color: rgb(51, 51, 226);
/* oklch */ color: oklch(46.5% 0.251 271.1);
Tailwind
colors: {
  custom: {
    50: '#886eed',
    500: '#3333e2',
    950: '#000000',
  },
}
SCSS
$custom: #3333e2;
$custom-light: #886eed;
$custom-dark: #000000;
JSON
{
  "hex": "#3333e2",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.25103,
    "h": 271.1
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#3333E2
secondary
#DEDE93
accent
#F236F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3333E2

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

Preview Lab → · Contrast checker → · Palette generator →

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