#3351CE#3351CE

#3351CE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.196 H 267.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#3351CE
RGBrgb(51, 81, 206)
HSLhsl(228, 61%, 50%)
HSVhsv(228, 75%, 81%)
CMYKcmyk(75.2%, 60.7%, 0%, 19.2%)
CIE-LABlab(39.65, 32.96, -67.74)
CIE-LCHlch(39.65, 75.33, 295.95°)
OKLaboklab(49.24% -0.0071 -0.1957)
OKLCHoklch(49.24% 0.196 267.9)
XYZxyz(15.4444, 11.0432, 59.6981)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351CE #CEB033
analogous
#339FCE #3351CE #6233CE
triadic
#3351CE #CE3351 #51CE33
tetradic
#3351CE #CE339F #CEB033 #33CE62
square
#3351CE #CE339F #CEB033 #33CE62
split-complementary
#3351CE #CE6233 #9FCE33
monochromatic
#1A2A6D #263D9E #3351CE #647BDA #96A5E6

Accessibility & contrast

On white

6.54
#3351CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3351CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351CE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351CE#FFFFFF#000000##FFFFFF
##3351CE1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3351ce;
/* rgb */ color: rgb(51, 81, 206);
/* oklch */ color: oklch(49.2% 0.196 267.9);
Tailwind
colors: {
  custom: {
    50: '#8181de',
    500: '#3351ce',
    950: '#000000',
  },
}
SCSS
$custom: #3351ce;
$custom-light: #8181de;
$custom-dark: #000000;
JSON
{
  "hex": "#3351ce",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 228.387,
    "s": 61.265,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49243,
    "c": 0.19587,
    "h": 267.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#3351CE
secondary
#D1C48C
accent
#C543E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3351CE

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

Preview Lab → · Contrast checker → · Palette generator →

#3351CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva