#3355B5#3355B5

#3355B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.157 H 265.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3355B5
RGBrgb(51, 85, 181)
HSLhsl(224, 56%, 45%)
HSVhsv(224, 72%, 71%)
CMYKcmyk(71.8%, 53%, 0%, 29%)
CIE-LABlab(38.79, 21.14, -54.58)
CIE-LCHlch(38.79, 58.53, 291.17°)
OKLaboklab(47.99% -0.0111 -0.157)
OKLCHoklch(47.99% 0.157 265.9)
XYZxyz(12.9513, 10.5357, 45.0581)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3355B5 #B59333
analogous
#3396B5 #3355B5 #5233B5
triadic
#3355B5 #B53355 #55B533
tetradic
#3355B5 #B53396 #B59333 #33B552
square
#3355B5 #B53396 #B59333 #33B552
split-complementary
#3355B5 #B55233 #96B533
monochromatic
#182856 #263F85 #3355B5 #5676CF #869CDD

Accessibility & contrast

On white

6.76
#3355B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3355B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3355B5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3355B5#FFFFFF#000000##FFFFFF
##3355B51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1262B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3355b5;
/* rgb */ color: rgb(51, 85, 181);
/* oklch */ color: oklch(48.0% 0.157 265.9);
Tailwind
colors: {
  custom: {
    50: '#7b84cc',
    500: '#3355b5',
    950: '#000000',
  },
}
SCSS
$custom: #3355b5;
$custom-light: #7b84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3355b5",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 224.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.15741,
    "h": 265.9
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#3355B5
secondary
#C6B37D
accent
#B848DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3355B5

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

Preview Lab → · Contrast checker → · Palette generator →

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