#3351C4#3351C4

#3351C4 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.183 H 267.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3351C4
RGBrgb(51, 81, 196)
HSLhsl(228, 59%, 48%)
HSVhsv(228, 74%, 77%)
CMYKcmyk(74%, 58.7%, 0%, 23.1%)
CIE-LABlab(38.85, 29.30, -63.25)
CIE-LCHlch(38.85, 69.71, 294.86°)
OKLaboklab(48.4% -0.0072 -0.1826)
OKLCHoklch(48.4% 0.183 267.7)
XYZxyz(14.2680, 10.5727, 53.5026)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351C4 #C4A633
analogous
#3399C4 #3351C4 #5D33C4
triadic
#3351C4 #C43351 #51C433
tetradic
#3351C4 #C43399 #C4A633 #33C45D
square
#3351C4 #C43399 #C4A633 #33C45D
split-complementary
#3351C4 #C45D33 #99C433
monochromatic
#1A2963 #263D93 #3351C4 #5F77D5 #8FA1E2

Accessibility & contrast

On white

6.74
#3351C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3351C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351C4
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351C4#FFFFFF#000000##FFFFFF
##3351C41.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3351c4;
/* rgb */ color: rgb(51, 81, 196);
/* oklch */ color: oklch(48.4% 0.183 267.7);
Tailwind
colors: {
  custom: {
    50: '#7f81d7',
    500: '#3351c4',
    950: '#000000',
  },
}
SCSS
$custom: #3351c4;
$custom-light: #7f81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3351c4",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 227.586,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.18271,
    "h": 267.7
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#3351C4
secondary
#CDBE86
accent
#C246E2
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3351C4

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

Preview Lab → · Contrast checker → · Palette generator →

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