#3355B7#3355B7

#3355B7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.160 H 266.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3355B7
RGBrgb(51, 85, 183)
HSLhsl(225, 56%, 46%)
HSVhsv(225, 72%, 72%)
CMYKcmyk(72.1%, 53.6%, 0%, 28.2%)
CIE-LABlab(38.93, 21.89, -55.52)
CIE-LCHlch(38.93, 59.68, 291.51°)
OKLaboklab(48.15% -0.011 -0.1598)
OKLCHoklch(48.15% 0.16 266.1)
XYZxyz(13.1580, 10.6183, 46.1467)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3355B7 #B79533
analogous
#3397B7 #3355B7 #5333B7
triadic
#3355B7 #B73355 #55B733
tetradic
#3355B7 #B73397 #B79533 #33B753
square
#3355B7 #B73397 #B79533 #33B753
split-complementary
#3355B7 #B75333 #97B733
monochromatic
#182957 #263F87 #3355B7 #5776D0 #879DDE

Accessibility & contrast

On white

6.72
#3355B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3355B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3355B7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3355B7#FFFFFF#000000##FFFFFF
##3355B71.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C62BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3355b7;
/* rgb */ color: rgb(51, 85, 183);
/* oklch */ color: oklch(48.1% 0.160 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c84cd',
    500: '#3355b7',
    950: '#000000',
  },
}
SCSS
$custom: #3355b7;
$custom-light: #7c84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3355b7",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 224.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.16017,
    "h": 266.1
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#3355B7
secondary
#C7B57F
accent
#B948E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3355B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3355B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva