#3354B6#3354B6

#3354B6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.160 H 266.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3354B6
RGBrgb(51, 84, 182)
HSLhsl(225, 56%, 46%)
HSVhsv(225, 72%, 71%)
CMYKcmyk(72%, 53.8%, 0%, 28.6%)
CIE-LABlab(38.59, 22.17, -55.49)
CIE-LCHlch(38.59, 59.76, 291.78°)
OKLaboklab(47.87% -0.0102 -0.1597)
OKLCHoklch(47.87% 0.16 266.3)
XYZxyz(12.9761, 10.4205, 45.5744)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354B6 #B69533
analogous
#3396B6 #3354B6 #5333B6
triadic
#3354B6 #B63354 #54B633
tetradic
#3354B6 #B63396 #B69533 #33B653
square
#3354B6 #B63396 #B69533 #33B653
split-complementary
#3354B6 #B65333 #96B633
monochromatic
#182856 #263E86 #3354B6 #5675D0 #869CDD

Accessibility & contrast

On white

6.81
#3354B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3354B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354B6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354B6#FFFFFF#000000##FFFFFF
##3354B61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0861B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3354b6;
/* rgb */ color: rgb(51, 84, 182);
/* oklch */ color: oklch(47.9% 0.160 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c83cd',
    500: '#3354b6',
    950: '#000000',
  },
}
SCSS
$custom: #3354b6;
$custom-light: #7c83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3354b6",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 182
  },
  "hsl": {
    "h": 224.885,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.16004,
    "h": 266.3
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#3354B6
secondary
#C7B47E
accent
#B948E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3354B6

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

Preview Lab → · Contrast checker → · Palette generator →

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