#3354C4#3354C4

#3354C4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.179 H 267.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3354C4
RGBrgb(51, 84, 196)
HSLhsl(226, 59%, 48%)
HSVhsv(226, 74%, 77%)
CMYKcmyk(74%, 57.1%, 0%, 23.1%)
CIE-LABlab(39.63, 27.36, -61.99)
CIE-LCHlch(39.63, 67.76, 293.82°)
OKLaboklab(48.98% -0.0094 -0.1788)
OKLCHoklch(48.98% 0.179 267)
XYZxyz(14.4959, 11.0284, 53.5786)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354C4 #C4A333
analogous
#339CC4 #3354C4 #5A33C4
triadic
#3354C4 #C43354 #54C433
tetradic
#3354C4 #C4339C #C4A333 #33C45A
square
#3354C4 #C4339C #C4A333 #33C45A
split-complementary
#3354C4 #C45A33 #9CC433
monochromatic
#1A2A63 #263F93 #3354C4 #5F7AD5 #8FA2E2

Accessibility & contrast

On white

6.55
#3354C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3354C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354C4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354C4#FFFFFF#000000##FFFFFF
##3354C41.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3354c4;
/* rgb */ color: rgb(51, 84, 196);
/* oklch */ color: oklch(49.0% 0.179 267.0);
Tailwind
colors: {
  custom: {
    50: '#7f83d7',
    500: '#3354c4',
    950: '#000000',
  },
}
SCSS
$custom: #3354c4;
$custom-light: #7f83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3354c4",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 226.345,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.17906,
    "h": 267
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#3354C4
secondary
#CDBD86
accent
#BE46E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3354C4

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

Preview Lab → · Contrast checker → · Palette generator →

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