#3349B2#3349B2

#3349B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.168 H 269.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3349B2
RGBrgb(51, 73, 178)
HSLhsl(230, 55%, 45%)
HSVhsv(230, 71%, 70%)
CMYKcmyk(71.3%, 59%, 0%, 30.2%)
CIE-LABlab(35.36, 27.90, -58.36)
CIE-LCHlch(35.36, 64.69, 295.55°)
OKLaboklab(45.35% -0.0016 -0.1683)
OKLCHoklch(45.35% 0.168 269.5)
XYZxyz(11.7809, 8.6821, 43.1658)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3349B2 #B29C33
analogous
#3389B2 #3349B2 #5C33B2
triadic
#3349B2 #B23349 #49B233
tetradic
#3349B2 #B23389 #B29C33 #33B25C
square
#3349B2 #B23389 #B29C33 #33B25C
split-complementary
#3349B2 #B25C33 #89B233
monochromatic
#182253 #253582 #3349B2 #5469CE #8493DC

Accessibility & contrast

On white

7.67
#3349B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3349B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3349B2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3349B2#FFFFFF#000000##FFFFFF
##3349B21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3349b2;
/* rgb */ color: rgb(51, 73, 178);
/* oklch */ color: oklch(45.4% 0.168 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c7bca',
    500: '#3349b2',
    950: '#000000',
  },
}
SCSS
$custom: #3349b2;
$custom-light: #7c7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3349b2",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 229.606,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45352,
    "c": 0.16832,
    "h": 269.5
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#3349B2
secondary
#C5B87C
accent
#C549DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3349B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3349B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva