#3354BF#3354BF

#3354BF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.172 H 266.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3354BF
RGBrgb(51, 84, 191)
HSLhsl(226, 58%, 47%)
HSVhsv(226, 73%, 75%)
CMYKcmyk(73.3%, 56%, 0%, 25.1%)
CIE-LABlab(39.25, 25.51, -59.69)
CIE-LCHlch(39.25, 64.91, 293.14°)
OKLaboklab(48.57% -0.0096 -0.1721)
OKLCHoklch(48.57% 0.172 266.8)
XYZxyz(13.9363, 10.8046, 50.6311)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354BF #BF9E33
analogous
#339ABF #3354BF #5833BF
triadic
#3354BF #BF3354 #54BF33
tetradic
#3354BF #BF339A #BF9E33 #33BF58
square
#3354BF #BF339A #BF9E33 #33BF58
split-complementary
#3354BF #BF5833 #9ABF33
monochromatic
#192A5E #263F8F #3354BF #5C78D3 #8CA0E0

Accessibility & contrast

On white

6.64
#3354BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3354BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354BF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354BF#FFFFFF#000000##FFFFFF
##3354BF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3354bf;
/* rgb */ color: rgb(51, 84, 191);
/* oklch */ color: oklch(48.6% 0.172 266.8);
Tailwind
colors: {
  custom: {
    50: '#7e83d3',
    500: '#3354bf',
    950: '#000000',
  },
}
SCSS
$custom: #3354bf;
$custom-light: #7e83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3354bf",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 225.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.17233,
    "h": 266.8
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#3354BF
secondary
#CBBA83
accent
#BD47E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3354BF

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

Preview Lab → · Contrast checker → · Palette generator →

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