#3350B4#3350B4

#3350B4 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.162 H 267.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#3350B4
RGBrgb(51, 80, 180)
HSLhsl(227, 56%, 45%)
HSVhsv(227, 72%, 71%)
CMYKcmyk(71.7%, 55.6%, 0%, 29.4%)
CIE-LABlab(37.36, 24.05, -56.30)
CIE-LCHlch(37.36, 61.22, 293.13°)
OKLaboklab(46.9% -0.0071 -0.1621)
OKLCHoklch(46.9% 0.162 267.5)
XYZxyz(12.4693, 9.7351, 44.3931)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3350B4 #B49733
analogous
#3390B4 #3350B4 #5733B4
triadic
#3350B4 #B43350 #50B433
tetradic
#3350B4 #B43390 #B49733 #33B457
square
#3350B4 #B43390 #B49733 #33B457
split-complementary
#3350B4 #B45733 #90B433
monochromatic
#182655 #253B84 #3350B4 #5571CF #8599DC

Accessibility & contrast

On white

7.13
#3350B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3350B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3350B4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3350B4#FFFFFF#000000##FFFFFF
##3350B41.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3350b4;
/* rgb */ color: rgb(51, 80, 180);
/* oklch */ color: oklch(46.9% 0.162 267.5);
Tailwind
colors: {
  custom: {
    50: '#7c80cb',
    500: '#3350b4',
    950: '#000000',
  },
}
SCSS
$custom: #3350b4;
$custom-light: #7c80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3350b4",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 226.512,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.1623,
    "h": 267.5
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#3350B4
secondary
#C6B67D
accent
#BD49DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3350B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3350B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva