#3354BC#3354BC

#3354BC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.168 H 266.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3354BC
RGBrgb(51, 84, 188)
HSLhsl(226, 57%, 47%)
HSVhsv(226, 73%, 74%)
CMYKcmyk(72.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.03, 24.40, -58.30)
CIE-LCHlch(39.03, 63.20, 292.71°)
OKLaboklab(48.34% -0.0098 -0.168)
OKLCHoklch(48.34% 0.168 266.7)
XYZxyz(13.6095, 10.6739, 48.9102)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3354BC #BC9B33
analogous
#3399BC #3354BC #5633BC
triadic
#3354BC #BC3354 #54BC33
tetradic
#3354BC #BC3399 #BC9B33 #33BC56
square
#3354BC #BC3399 #BC9B33 #33BC56
split-complementary
#3354BC #BC5633 #99BC33
monochromatic
#19295C #263E8C #3354BC #5A77D2 #8A9FDF

Accessibility & contrast

On white

6.70
#3354BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3354BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3354BC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3354BC#FFFFFF#000000##FFFFFF
##3354BC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3354bc;
/* rgb */ color: rgb(51, 84, 188);
/* oklch */ color: oklch(48.3% 0.168 266.7);
Tailwind
colors: {
  custom: {
    50: '#7d83d1',
    500: '#3354bc',
    950: '#000000',
  },
}
SCSS
$custom: #3354bc;
$custom-light: #7d83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3354bc",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 225.547,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.16826,
    "h": 266.7
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#3354BC
secondary
#C9B881
accent
#BC47E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3354BC

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

Preview Lab → · Contrast checker → · Palette generator →

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