#3355AB#3355AB

#3355AB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.143 H 265.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3355AB
RGBrgb(51, 85, 171)
HSLhsl(223, 54%, 44%)
HSVhsv(223, 70%, 67%)
CMYKcmyk(70.2%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.09, 17.41, -49.79)
CIE-LCHlch(38.09, 52.75, 289.27°)
OKLaboklab(47.25% -0.0122 -0.1429)
OKLCHoklch(47.25% 0.143 265.1)
XYZxyz(11.9619, 10.1399, 39.8470)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3355AB #AB8933
analogous
#3391AB #3355AB #4D33AB
triadic
#3355AB #AB3355 #55AB33
tetradic
#3355AB #AB3391 #AB8933 #33AB4D
square
#3355AB #AB3391 #AB8933 #33AB4D
split-complementary
#3355AB #AB4D33 #91AB33
monochromatic
#17264D #253E7C #3355AB #5073CB #7F99D9

Accessibility & contrast

On white

6.93
#3355AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3355AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3355AB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3355AB#FFFFFF#000000##FFFFFF
##3355AB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3355ab;
/* rgb */ color: rgb(51, 85, 171);
/* oklch */ color: oklch(47.2% 0.143 265.1);
Tailwind
colors: {
  custom: {
    50: '#7984c5',
    500: '#3355ab',
    950: '#000000',
  },
}
SCSS
$custom: #3355ab;
$custom-light: #7984c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3355ab",
  "rgb": {
    "r": 51,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 223,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.14345,
    "h": 265.1
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#3355AB
secondary
#C2AD78
accent
#B44ADD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3355AB

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

Preview Lab → · Contrast checker → · Palette generator →

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