#3334E2#3334E2

#3334E2 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.7% C 0.250 H 271.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3334E2
RGBrgb(51, 52, 226)
HSLhsl(240, 75%, 54%)
HSVhsv(240, 77%, 89%)
CMYKcmyk(77.4%, 77%, 0%, 11.4%)
CIE-LABlab(35.30, 56.76, -86.39)
CIE-LCHlch(35.30, 103.37, 303.31°)
OKLaboklab(46.66% 0.0045 -0.2501)
OKLCHoklch(46.66% 0.25 271)
XYZxyz(16.3161, 8.6490, 72.7463)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334E2 #E2E133
analogous
#338CE2 #3334E2 #8A33E2
triadic
#3334E2 #E23334 #34E233
tetradic
#3334E2 #E2338C #E2E133 #33E28A
square
#3334E2 #E2338C #E2E133 #33E28A
split-complementary
#3334E2 #E28A33 #8CE233
monochromatic
#131487 #1B1CBD #3334E2 #6969EA #9E9FF1

Accessibility & contrast

On white

7.69
#3334E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3334E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334E2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334E2#FFFFFF#000000##FFFFFF
##3334E21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3334e2;
/* rgb */ color: rgb(51, 52, 226);
/* oklch */ color: oklch(46.7% 0.250 271.0);
Tailwind
colors: {
  custom: {
    50: '#886fed',
    500: '#3334e2',
    950: '#000000',
  },
}
SCSS
$custom: #3334e2;
$custom-light: #886fed;
$custom-dark: #000000;
JSON
{
  "hex": "#3334e2",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 239.657,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.25019,
    "h": 271
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#3334E2
secondary
#DEDD93
accent
#F136F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3334E2

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

Preview Lab → · Contrast checker → · Palette generator →

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