#3366B2#3366B2

#3366B2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.133 H 258.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3366B2
RGBrgb(51, 102, 178)
HSLhsl(216, 55%, 45%)
HSVhsv(216, 71%, 70%)
CMYKcmyk(71.3%, 42.7%, 0%, 30.2%)
CIE-LABlab(43.39, 9.01, -45.42)
CIE-LCHlch(43.39, 46.30, 281.22°)
OKLaboklab(51.46% -0.0268 -0.1298)
OKLCHoklch(51.46% 0.133 258.3)
XYZxyz(14.1496, 13.4194, 43.9553)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3366B2 #B27F33
analogous
#33A5B2 #3366B2 #4033B2
triadic
#3366B2 #B23366 #66B233
tetradic
#3366B2 #B233A5 #B27F33 #33B240
square
#3366B2 #B233A5 #B27F33 #33B240
split-complementary
#3366B2 #B24033 #A5B233
monochromatic
#182F53 #254B82 #3366B2 #5485CE #84A7DC

Accessibility & contrast

On white

5.70
#3366B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3366B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3366B2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3366B2#FFFFFF#000000##FFFFFF
##3366B21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3366b2;
/* rgb */ color: rgb(51, 102, 178);
/* oklch */ color: oklch(51.5% 0.133 258.3);
Tailwind
colors: {
  custom: {
    50: '#7a91c9',
    500: '#3366b2',
    950: '#000000',
  },
}
SCSS
$custom: #3366b2;
$custom-light: #7a91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3366b2",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 215.906,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.13252,
    "h": 258.3
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#3366B2
secondary
#C5A87C
accent
#A349DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3366B2

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

Preview Lab → · Contrast checker → · Palette generator →

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