#3349B4#3349B4

#3349B4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 269.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3349B4
RGBrgb(51, 73, 180)
HSLhsl(230, 56%, 45%)
HSVhsv(230, 72%, 71%)
CMYKcmyk(71.7%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.52, 28.63, -59.29)
CIE-LCHlch(35.52, 65.84, 295.78°)
OKLaboklab(45.52% -0.0016 -0.171)
OKLCHoklch(45.52% 0.171 269.5)
XYZxyz(11.9832, 8.7630, 44.2311)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3349B4 #B49E33
analogous
#338AB4 #3349B4 #5D33B4
triadic
#3349B4 #B43349 #49B433
tetradic
#3349B4 #B4338A #B49E33 #33B45D
square
#3349B4 #B4338A #B49E33 #33B45D
split-complementary
#3349B4 #B45D33 #8AB433
monochromatic
#182255 #253684 #3349B4 #556ACF #8594DC

Accessibility & contrast

On white

7.63
#3349B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3349B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3349B4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3349B4#FFFFFF#000000##FFFFFF
##3349B41.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3349b4;
/* rgb */ color: rgb(51, 73, 180);
/* oklch */ color: oklch(45.5% 0.171 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c7bcb',
    500: '#3349b4',
    950: '#000000',
  },
}
SCSS
$custom: #3349b4;
$custom-light: #7c7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3349b4",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 229.767,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.17104,
    "h": 269.5
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#3349B4
secondary
#C6BA7D
accent
#C549DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3349B4

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

Preview Lab → · Contrast checker → · Palette generator →

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