#3351CD#3351CD

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

Color values

HEX#3351CD
RGBrgb(51, 81, 205)
HSLhsl(228, 61%, 50%)
HSVhsv(228, 75%, 80%)
CMYKcmyk(75.1%, 60.5%, 0%, 19.6%)
CIE-LABlab(39.57, 32.60, -67.29)
CIE-LCHlch(39.57, 74.77, 295.84°)
OKLaboklab(49.16% -0.0071 -0.1944)
OKLCHoklch(49.16% 0.195 267.9)
XYZxyz(15.3233, 10.9948, 59.0604)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351CD #CDAF33
analogous
#339ECD #3351CD #6233CD
triadic
#3351CD #CD3351 #51CD33
tetradic
#3351CD #CD339E #CDAF33 #33CD62
square
#3351CD #CD339E #CDAF33 #33CD62
split-complementary
#3351CD #CD6233 #9ECD33
monochromatic
#1A2A6B #263D9C #3351CD #647BD9 #95A5E5

Accessibility & contrast

On white

6.56
#3351CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3351CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351CD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351CD#FFFFFF#000000##FFFFFF
##3351CD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3351cd;
/* rgb */ color: rgb(51, 81, 205);
/* oklch */ color: oklch(49.2% 0.195 267.9);
Tailwind
colors: {
  custom: {
    50: '#8181dd',
    500: '#3351cd',
    950: '#000000',
  },
}
SCSS
$custom: #3351cd;
$custom-light: #8181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3351cd",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 228.312,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.19456,
    "h": 267.9
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#3351CD
secondary
#D0C38B
accent
#C544E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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