#3366B8#3366B8

#3366B8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.141 H 259.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3366B8
RGBrgb(51, 102, 184)
HSLhsl(217, 57%, 46%)
HSVhsv(217, 72%, 72%)
CMYKcmyk(72.3%, 44.6%, 0%, 27.8%)
CIE-LABlab(43.75, 11.24, -48.35)
CIE-LCHlch(43.75, 49.64, 283.09°)
OKLaboklab(51.85% -0.0256 -0.1384)
OKLCHoklch(51.85% 0.141 259.5)
XYZxyz(14.7652, 13.6656, 47.1977)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3366B8 #B88533
analogous
#33A8B8 #3366B8 #4233B8
triadic
#3366B8 #B83366 #66B833
tetradic
#3366B8 #B833A8 #B88533 #33B842
square
#3366B8 #B833A8 #B88533 #33B842
split-complementary
#3366B8 #B84233 #A8B833
monochromatic
#183158 #264B88 #3366B8 #5886D1 #88A9DE

Accessibility & contrast

On white

5.62
#3366B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3366B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3366B8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3366B8#FFFFFF#000000##FFFFFF
##3366B81.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3366b8;
/* rgb */ color: rgb(51, 102, 184);
/* oklch */ color: oklch(51.9% 0.141 259.5);
Tailwind
colors: {
  custom: {
    50: '#7b91ce',
    500: '#3366b8',
    950: '#000000',
  },
}
SCSS
$custom: #3366b8;
$custom-light: #7b91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3366b8",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 216.992,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.14073,
    "h": 259.5
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#3366B8
secondary
#C8AC7F
accent
#A648E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3366B8

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

Preview Lab → · Contrast checker → · Palette generator →

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