#3354B3#3354B3

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

Color values

HEX#3354B3
RGBrgb(51, 84, 179)
HSLhsl(225, 56%, 45%)
HSVhsv(225, 72%, 70%)
CMYKcmyk(71.5%, 53.1%, 0%, 29.8%)
CIE-LABlab(38.37, 21.05, -54.07)
CIE-LCHlch(38.37, 58.03, 291.27°)
OKLaboklab(47.64% -0.0105 -0.1555)
OKLCHoklch(47.64% 0.156 266.1)
XYZxyz(12.6694, 10.2978, 43.9591)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354B3 #B39233
analogous
#3394B3 #3354B3 #5233B3
triadic
#3354B3 #B33354 #54B333
tetradic
#3354B3 #B33394 #B39233 #33B352
square
#3354B3 #B33394 #B39233 #33B352
split-complementary
#3354B3 #B35233 #94B333
monochromatic
#182754 #253E83 #3354B3 #5574CE #849BDC

Accessibility & contrast

On white

6.86
#3354B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3354B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354B3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354B3#FFFFFF#000000##FFFFFF
##3354B31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3354b3;
/* rgb */ color: rgb(51, 84, 179);
/* oklch */ color: oklch(47.6% 0.156 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b83ca',
    500: '#3354b3',
    950: '#000000',
  },
}
SCSS
$custom: #3354b3;
$custom-light: #7b83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3354b3",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 224.531,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.15589,
    "h": 266.1
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3354B3

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

Preview Lab → · Contrast checker → · Palette generator →

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