#3351BA#3351BA

#3351BA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.169 H 267.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3351BA
RGBrgb(51, 81, 186)
HSLhsl(227, 57%, 46%)
HSVhsv(227, 73%, 73%)
CMYKcmyk(72.6%, 56.5%, 0%, 27.1%)
CIE-LABlab(38.08, 25.62, -58.66)
CIE-LCHlch(38.08, 64.01, 293.59°)
OKLaboklab(47.58% -0.0076 -0.1691)
OKLCHoklch(47.58% 0.169 267.4)
XYZxyz(13.1675, 10.1325, 47.7067)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3351BA #BA9C33
analogous
#3395BA #3351BA #5933BA
triadic
#3351BA #BA3351 #51BA33
tetradic
#3351BA #BA3395 #BA9C33 #33BA59
square
#3351BA #BA3395 #BA9C33 #33BA59
split-complementary
#3351BA #BA5933 #95BA33
monochromatic
#19275A #263C8A #3351BA #5974D1 #899CDF

Accessibility & contrast

On white

6.94
#3351BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3351BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3351BA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3351BA#FFFFFF#000000##FFFFFF
##3351BA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3351ba;
/* rgb */ color: rgb(51, 81, 186);
/* oklch */ color: oklch(47.6% 0.169 267.4);
Tailwind
colors: {
  custom: {
    50: '#7d81d0',
    500: '#3351ba',
    950: '#000000',
  },
}
SCSS
$custom: #3351ba;
$custom-light: #7d81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3351ba",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 226.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.16926,
    "h": 267.4
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#3351BA
secondary
#C9B880
accent
#BE48E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3351BA

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

Preview Lab → · Contrast checker → · Palette generator →

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