#3354B2#3354B2

#3354B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.154 H 266.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3354B2
RGBrgb(51, 84, 178)
HSLhsl(224, 55%, 45%)
HSVhsv(224, 71%, 70%)
CMYKcmyk(71.3%, 52.8%, 0%, 30.2%)
CIE-LABlab(38.30, 20.68, -53.60)
CIE-LCHlch(38.30, 57.45, 291.10°)
OKLaboklab(47.56% -0.0106 -0.1541)
OKLCHoklch(47.56% 0.155 266.1)
XYZxyz(12.5686, 10.2575, 43.4284)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354B2 #B29133
analogous
#3394B2 #3354B2 #5133B2
triadic
#3354B2 #B23354 #54B233
tetradic
#3354B2 #B23394 #B29133 #33B251
square
#3354B2 #B23394 #B29133 #33B251
split-complementary
#3354B2 #B25133 #94B233
monochromatic
#182753 #253E82 #3354B2 #5474CE #849BDC

Accessibility & contrast

On white

6.88
#3354B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3354B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354B2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354B2#FFFFFF#000000##FFFFFF
##3354B21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3354b2;
/* rgb */ color: rgb(51, 84, 178);
/* oklch */ color: oklch(47.6% 0.154 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b83ca',
    500: '#3354b2',
    950: '#000000',
  },
}
SCSS
$custom: #3354b2;
$custom-light: #7b83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3354b2",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 224.409,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47558,
    "c": 0.1545,
    "h": 266.1
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#3354B2
secondary
#C5B27C
accent
#B849DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3354B2

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

Preview Lab → · Contrast checker → · Palette generator →

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