#3355B8#3355B8

#3355B8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.162 H 266.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3355B8
RGBrgb(51, 85, 184)
HSLhsl(225, 57%, 46%)
HSVhsv(225, 72%, 72%)
CMYKcmyk(72.3%, 53.8%, 0%, 27.8%)
CIE-LABlab(39.00, 22.26, -55.99)
CIE-LCHlch(39.00, 60.26, 291.68°)
OKLaboklab(48.23% -0.0109 -0.1612)
OKLCHoklch(48.23% 0.162 266.1)
XYZxyz(13.2624, 10.6601, 46.6968)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3355B8 #B89633
analogous
#3397B8 #3355B8 #5333B8
triadic
#3355B8 #B83355 #55B833
tetradic
#3355B8 #B83397 #B89633 #33B853
square
#3355B8 #B83397 #B89633 #33B853
split-complementary
#3355B8 #B85333 #97B833
monochromatic
#182958 #263F88 #3355B8 #5877D1 #889EDE

Accessibility & contrast

On white

6.70
#3355B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3355B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3355B8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3355B8#FFFFFF#000000##FFFFFF
##3355B81.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0862BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3355b8;
/* rgb */ color: rgb(51, 85, 184);
/* oklch */ color: oklch(48.2% 0.162 266.1);
Tailwind
colors: {
  custom: {
    50: '#7c84ce',
    500: '#3355b8',
    950: '#000000',
  },
}
SCSS
$custom: #3355b8;
$custom-light: #7c84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3355b8",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 224.662,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.16154,
    "h": 266.1
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3355B8

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

Preview Lab → · Contrast checker → · Palette generator →

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