#333EEE#333EEE

#333EEE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.2% C 0.255 H 269.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#333EEE
RGBrgb(51, 62, 238)
HSLhsl(236, 85%, 57%)
HSVhsv(236, 79%, 93%)
CMYKcmyk(78.6%, 73.9%, 0%, 6.7%)
CIE-LABlab(38.41, 55.32, -88.07)
CIE-LCHlch(38.41, 104.00, 302.13°)
OKLaboklab(49.23% -0.0006 -0.2551)
OKLCHoklch(49.23% 0.255 269.9)
XYZxyz(18.5152, 10.3200, 81.8885)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EEE #EEE333
analogous
#339BEE #333EEE #8633EE
triadic
#333EEE #EE333E #3EEE33
tetradic
#333EEE #EE339B #EEE333 #33EE86
square
#333EEE #EE339B #EEE333 #33EE86
split-complementary
#333EEE #EE8633 #9BEE33
monochromatic
#0D159A #121DD2 #333EEE #6B73F3 #A4A9F7

Accessibility & contrast

On white

6.85
#333EEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#333EEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #333EEE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EEE#FFFFFF#000000##FFFFFF
##333EEE1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064F3
Deuteranopia (green-blind)
#0051EB
Tritanopia (blue-blind)
#007293
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #333eee;
/* rgb */ color: rgb(51, 62, 238);
/* oklch */ color: oklch(49.2% 0.255 269.9);
Tailwind
colors: {
  custom: {
    50: '#8a75f5',
    500: '#333eee',
    950: '#000000',
  },
}
SCSS
$custom: #333eee;
$custom-light: #8a75f5;
$custom-dark: #000000;
JSON
{
  "hex": "#333eee",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 238
  },
  "hsl": {
    "h": 236.471,
    "s": 84.615,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.25511,
    "h": 269.9
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#333EEE
secondary
#E5E098
accent
#EF2DFB
background
#F9F7FF
surface
#F2EDFF
border
#CCC8D7
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #333EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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