#3355B2#3355B2

#3355B2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.153 H 265.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3355B2
RGBrgb(51, 85, 178)
HSLhsl(224, 55%, 45%)
HSVhsv(224, 71%, 70%)
CMYKcmyk(71.3%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.58, 20.02, -53.15)
CIE-LCHlch(38.58, 56.80, 290.64°)
OKLaboklab(47.77% -0.0114 -0.1528)
OKLCHoklch(47.77% 0.153 265.7)
XYZxyz(12.6468, 10.4139, 43.4544)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3355B2 #B29033
analogous
#3395B2 #3355B2 #5033B2
triadic
#3355B2 #B23355 #55B233
tetradic
#3355B2 #B23395 #B29033 #33B250
square
#3355B2 #B23395 #B29033 #33B250
split-complementary
#3355B2 #B25033 #95B233
monochromatic
#182853 #253E82 #3355B2 #5475CE #849BDC

Accessibility & contrast

On white

6.81
#3355B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3355B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3355B2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3355B2#FFFFFF#000000##FFFFFF
##3355B21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3355b2;
/* rgb */ color: rgb(51, 85, 178);
/* oklch */ color: oklch(47.8% 0.153 265.7);
Tailwind
colors: {
  custom: {
    50: '#7b84ca',
    500: '#3355b2',
    950: '#000000',
  },
}
SCSS
$custom: #3355b2;
$custom-light: #7b84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3355b2",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 223.937,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47766,
    "c": 0.15325,
    "h": 265.7
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#3355B2
secondary
#C5B17C
accent
#B749DF
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3355B2

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

Preview Lab → · Contrast checker → · Palette generator →

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