#3354C5#3354C5

#3354C5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.180 H 267.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3354C5
RGBrgb(51, 84, 197)
HSLhsl(226, 59%, 49%)
HSVhsv(226, 74%, 77%)
CMYKcmyk(74.1%, 57.4%, 0%, 22.7%)
CIE-LABlab(39.70, 27.73, -62.44)
CIE-LCHlch(39.70, 68.32, 293.95°)
OKLaboklab(49.06% -0.0094 -0.1801)
OKLCHoklch(49.06% 0.18 267)
XYZxyz(14.6101, 11.0741, 54.1800)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354C5 #C5A433
analogous
#339DC5 #3354C5 #5B33C5
triadic
#3354C5 #C53354 #54C533
tetradic
#3354C5 #C5339D #C5A433 #33C55B
square
#3354C5 #C5339D #C5A433 #33C55B
split-complementary
#3354C5 #C55B33 #9DC533
monochromatic
#1A2B64 #263F94 #3354C5 #5F7AD6 #90A3E2

Accessibility & contrast

On white

6.53
#3354C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3354C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354C5
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354C5#FFFFFF#000000##FFFFFF
##3354C51.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3354c5;
/* rgb */ color: rgb(51, 84, 197);
/* oklch */ color: oklch(49.1% 0.180 267.0);
Tailwind
colors: {
  custom: {
    50: '#7f83d7',
    500: '#3354c5',
    950: '#000000',
  },
}
SCSS
$custom: #3354c5;
$custom-light: #7f83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3354c5",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 226.438,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.18039,
    "h": 267
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#3354C5
secondary
#CDBD87
accent
#BF46E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3354C5

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

Preview Lab → · Contrast checker → · Palette generator →

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