#3351C8#3351C8

#3351C8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.188 H 267.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3351C8
RGBrgb(51, 81, 200)
HSLhsl(228, 59%, 49%)
HSVhsv(228, 75%, 78%)
CMYKcmyk(74.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(39.17, 30.77, -65.06)
CIE-LCHlch(39.17, 71.97, 295.31°)
OKLaboklab(48.73% -0.0072 -0.1879)
OKLCHoklch(48.73% 0.188 267.8)
XYZxyz(14.7294, 10.7572, 55.9325)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351C8 #C8AA33
analogous
#339CC8 #3351C8 #5F33C8
triadic
#3351C8 #C83351 #51C833
tetradic
#3351C8 #C8339C #C8AA33 #33C85F
square
#3351C8 #C8339C #C8AA33 #33C85F
split-complementary
#3351C8 #C85F33 #9CC833
monochromatic
#1A2A66 #273D97 #3351C8 #6179D7 #92A2E3

Accessibility & contrast

On white

6.66
#3351C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3351C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351C8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351C8#FFFFFF#000000##FFFFFF
##3351C81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3351c8;
/* rgb */ color: rgb(51, 81, 200);
/* oklch */ color: oklch(48.7% 0.188 267.8);
Tailwind
colors: {
  custom: {
    50: '#8081da',
    500: '#3351c8',
    950: '#000000',
  },
}
SCSS
$custom: #3351c8;
$custom-light: #8081da;
$custom-dark: #000000;
JSON
{
  "hex": "#3351c8",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 227.919,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.18801,
    "h": 267.8
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#3351C8
secondary
#CEC089
accent
#C345E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3351C8

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

Preview Lab → · Contrast checker → · Palette generator →

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