#3356CD#3356CD

#3356CD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.189 H 266.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3356CD
RGBrgb(51, 86, 205)
HSLhsl(226, 61%, 50%)
HSVhsv(226, 75%, 80%)
CMYKcmyk(75.1%, 58%, 0%, 19.6%)
CIE-LABlab(40.84, 29.39, -65.22)
CIE-LCHlch(40.84, 71.54, 294.25°)
OKLaboklab(50.1% -0.0105 -0.1883)
OKLCHoklch(50.1% 0.189 266.8)
XYZxyz(15.7086, 11.7654, 59.1888)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3356CD #CDAA33
analogous
#33A3CD #3356CD #5D33CD
triadic
#3356CD #CD3356 #56CD33
tetradic
#3356CD #CD33A3 #CDAA33 #33CD5D
square
#3356CD #CD33A3 #CDAA33 #33CD5D
split-complementary
#3356CD #CD5D33 #A3CD33
monochromatic
#1A2D6B #26419C #3356CD #647FD9 #95A7E5

Accessibility & contrast

On white

6.26
#3356CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3356CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3356CD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3356CD#FFFFFF#000000##FFFFFF
##3356CD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3356cd;
/* rgb */ color: rgb(51, 86, 205);
/* oklch */ color: oklch(50.1% 0.189 266.8);
Tailwind
colors: {
  custom: {
    50: '#8185dd',
    500: '#3356cd',
    950: '#000000',
  },
}
SCSS
$custom: #3356cd;
$custom-light: #8185dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3356cd",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 226.364,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.18858,
    "h": 266.8
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#3356CD
secondary
#D0C18B
accent
#BF44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3356CD

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

Preview Lab → · Contrast checker → · Palette generator →

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