#3366BA#3366BA

#3366BA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.0% C 0.143 H 259.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3366BA
RGBrgb(51, 102, 186)
HSLhsl(217, 57%, 46%)
HSVhsv(217, 73%, 73%)
CMYKcmyk(72.6%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.87, 11.99, -49.31)
CIE-LCHlch(43.87, 50.75, 283.66°)
OKLaboklab(51.99% -0.0253 -0.1412)
OKLCHoklch(51.99% 0.143 259.9)
XYZxyz(14.9763, 13.7501, 48.3096)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3366BA #BA8733
analogous
#33AABA #3366BA #4333BA
triadic
#3366BA #BA3366 #66BA33
tetradic
#3366BA #BA33AA #BA8733 #33BA43
square
#3366BA #BA33AA #BA8733 #33BA43
split-complementary
#3366BA #BA4333 #AABA33
monochromatic
#19315A #264C8A #3366BA #5986D1 #89A9DF

Accessibility & contrast

On white

5.60
#3366BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3366BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3366BA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3366BA#FFFFFF#000000##FFFFFF
##3366BA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3366ba;
/* rgb */ color: rgb(51, 102, 186);
/* oklch */ color: oklch(52.0% 0.143 259.9);
Tailwind
colors: {
  custom: {
    50: '#7c91cf',
    500: '#3366ba',
    950: '#000000',
  },
}
SCSS
$custom: #3366ba;
$custom-light: #7c91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3366ba",
  "rgb": {
    "r": 51,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 217.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.14346,
    "h": 259.9
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#3366BA
secondary
#C9AD80
accent
#A748E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3366BA

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

Preview Lab → · Contrast checker → · Palette generator →

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