#333EE2#333EE2

#333EE2 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.0% C 0.241 H 270.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#333EE2
RGBrgb(51, 62, 226)
HSLhsl(236, 75%, 54%)
HSVhsv(236, 77%, 89%)
CMYKcmyk(77.4%, 72.6%, 0%, 11.4%)
CIE-LABlab(37.19, 51.42, -83.28)
CIE-LCHlch(37.19, 97.87, 301.69°)
OKLaboklab(48% 0.0011 -0.2412)
OKLCHoklch(48% 0.241 270.3)
XYZxyz(16.8107, 9.6382, 72.9111)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EE2 #E2D733
analogous
#3395E2 #333EE2 #8033E2
triadic
#333EE2 #E2333E #3EE233
tetradic
#333EE2 #E23395 #E2D733 #33E280
square
#333EE2 #E23395 #E2D733 #33E280
split-complementary
#333EE2 #E28033 #95E233
monochromatic
#131B87 #1B25BD #333EE2 #6971EA #9EA3F1

Accessibility & contrast

On white

7.17
#333EE2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#333EE2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333EE2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EE2#FFFFFF#000000##FFFFFF
##333EE21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E7
Deuteranopia (green-blind)
#004FDF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #333ee2;
/* rgb */ color: rgb(51, 62, 226);
/* oklch */ color: oklch(48.0% 0.241 270.3);
Tailwind
colors: {
  custom: {
    50: '#8875ed',
    500: '#333ee2',
    950: '#000000',
  },
}
SCSS
$custom: #333ee2;
$custom-light: #8875ed;
$custom-dark: #000000;
JSON
{
  "hex": "#333ee2",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 236.229,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.24118,
    "h": 270.3
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#333EE2
secondary
#DED993
accent
#E636F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #333EE2

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

Preview Lab → · Contrast checker → · Palette generator →

#333EE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva