#3351BD#3351BD

#3351BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.173 H 267.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3351BD
RGBrgb(51, 81, 189)
HSLhsl(227, 58%, 47%)
HSVhsv(227, 73%, 74%)
CMYKcmyk(73%, 57.1%, 0%, 25.9%)
CIE-LABlab(38.31, 26.73, -60.05)
CIE-LCHlch(38.31, 65.73, 293.99°)
OKLaboklab(47.82% -0.0074 -0.1732)
OKLCHoklch(47.82% 0.173 267.5)
XYZxyz(13.4898, 10.2614, 49.4039)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351BD #BD9F33
analogous
#3396BD #3351BD #5A33BD
triadic
#3351BD #BD3351 #51BD33
tetradic
#3351BD #BD3396 #BD9F33 #33BD5A
square
#3351BD #BD3396 #BD9F33 #33BD5A
split-complementary
#3351BD #BD5A33 #96BD33
monochromatic
#19285D #263C8D #3351BD #5B75D3 #8B9DE0

Accessibility & contrast

On white

6.88
#3351BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3351BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351BD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351BD#FFFFFF#000000##FFFFFF
##3351BD1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3351bd;
/* rgb */ color: rgb(51, 81, 189);
/* oklch */ color: oklch(47.8% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d81d2',
    500: '#3351bd',
    950: '#000000',
  },
}
SCSS
$custom: #3351bd;
$custom-light: #7d81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3351bd",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 226.957,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.17332,
    "h": 267.5
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#3351BD
secondary
#CABA82
accent
#BF47E1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3351BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3351BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva