#3366B3#3366B3

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

Color values

HEX#3366B3
RGBrgb(51, 102, 179)
HSLhsl(216, 56%, 45%)
HSVhsv(216, 72%, 70%)
CMYKcmyk(71.5%, 43%, 0%, 29.8%)
CIE-LABlab(43.45, 9.38, -45.91)
CIE-LCHlch(43.45, 46.86, 281.55°)
OKLaboklab(51.52% -0.0266 -0.1312)
OKLCHoklch(51.52% 0.134 258.5)
XYZxyz(14.2503, 13.4597, 44.4860)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3366B3 #B38033
analogous
#33A6B3 #3366B3 #4033B3
triadic
#3366B3 #B33366 #66B333
tetradic
#3366B3 #B333A6 #B38033 #33B340
square
#3366B3 #B333A6 #B38033 #33B340
split-complementary
#3366B3 #B34033 #A6B333
monochromatic
#183054 #254B83 #3366B3 #5585CE #84A7DC

Accessibility & contrast

On white

5.69
#3366B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3366B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3366B3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3366B3#FFFFFF#000000##FFFFFF
##3366B31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3366b3;
/* rgb */ color: rgb(51, 102, 179);
/* oklch */ color: oklch(51.5% 0.134 258.5);
Tailwind
colors: {
  custom: {
    50: '#7a91ca',
    500: '#3366b3',
    950: '#000000',
  },
}
SCSS
$custom: #3366b3;
$custom-light: #7a91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3366b3",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 216.094,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.13389,
    "h": 258.5
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3366B3

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

Preview Lab → · Contrast checker → · Palette generator →

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