#3350B1#3350B1

#3350B1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.158 H 267.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3350B1
RGBrgb(51, 80, 177)
HSLhsl(226, 55%, 45%)
HSVhsv(226, 71%, 69%)
CMYKcmyk(71.2%, 54.8%, 0%, 30.6%)
CIE-LABlab(37.14, 22.94, -54.89)
CIE-LCHlch(37.14, 59.48, 292.68°)
OKLaboklab(46.66% -0.0073 -0.158)
OKLCHoklch(46.66% 0.158 267.4)
XYZxyz(12.1670, 9.6142, 42.8010)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3350B1 #B19433
analogous
#338FB1 #3350B1 #5533B1
triadic
#3350B1 #B13350 #50B133
tetradic
#3350B1 #B1338F #B19433 #33B155
square
#3350B1 #B1338F #B19433 #33B155
split-complementary
#3350B1 #B15533 #8FB133
monochromatic
#182552 #253B81 #3350B1 #5470CE #8397DB

Accessibility & contrast

On white

7.18
#3350B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3350B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3350B1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3350B1#FFFFFF#000000##FFFFFF
##3350B11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3350b1;
/* rgb */ color: rgb(51, 80, 177);
/* oklch */ color: oklch(46.7% 0.158 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b80c9',
    500: '#3350b1',
    950: '#000000',
  },
}
SCSS
$custom: #3350b1;
$custom-light: #7b80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3350b1",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 226.19,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.15816,
    "h": 267.4
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#3350B1
secondary
#C5B47B
accent
#BC49DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3350B1

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

Preview Lab → · Contrast checker → · Palette generator →

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