#3351BC#3351BC

#3351BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.172 H 267.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3351BC
RGBrgb(51, 81, 188)
HSLhsl(227, 57%, 47%)
HSVhsv(227, 73%, 74%)
CMYKcmyk(72.9%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.23, 26.36, -59.59)
CIE-LCHlch(38.23, 65.16, 293.86°)
OKLaboklab(47.74% -0.0075 -0.1718)
OKLCHoklch(47.74% 0.172 267.5)
XYZxyz(13.3816, 10.2181, 48.8343)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351BC #BC9E33
analogous
#3396BC #3351BC #5933BC
triadic
#3351BC #BC3351 #51BC33
tetradic
#3351BC #BC3396 #BC9E33 #33BC59
square
#3351BC #BC3396 #BC9E33 #33BC59
split-complementary
#3351BC #BC5933 #96BC33
monochromatic
#19285C #263C8C #3351BC #5A74D2 #8A9DDF

Accessibility & contrast

On white

6.90
#3351BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3351BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351BC#FFFFFF#000000##FFFFFF
##3351BC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3351bc;
/* rgb */ color: rgb(51, 81, 188);
/* oklch */ color: oklch(47.7% 0.172 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d81d1',
    500: '#3351bc',
    950: '#000000',
  },
}
SCSS
$custom: #3351bc;
$custom-light: #7d81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3351bc",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 226.861,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47738,
    "c": 0.17197,
    "h": 267.5
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#3351BC
secondary
#C9BA81
accent
#BF47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3351BC

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

Preview Lab → · Contrast checker → · Palette generator →

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