#3348B5#3348B5

#3348B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.174 H 269.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3348B5
RGBrgb(51, 72, 181)
HSLhsl(230, 56%, 45%)
HSVhsv(230, 72%, 71%)
CMYKcmyk(71.8%, 60.2%, 0%, 29%)
CIE-LABlab(35.35, 29.65, -60.17)
CIE-LCHlch(35.35, 67.07, 296.23°)
OKLaboklab(45.42% -0.0008 -0.1736)
OKLCHoklch(45.42% 0.174 269.7)
XYZxyz(12.0202, 8.6735, 44.7478)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348B5 #B5A033
analogous
#3389B5 #3348B5 #5F33B5
triadic
#3348B5 #B53348 #48B533
tetradic
#3348B5 #B53389 #B5A033 #33B55F
square
#3348B5 #B53389 #B5A033 #33B55F
split-complementary
#3348B5 #B55F33 #89B533
monochromatic
#182256 #263585 #3348B5 #5669CF #8694DD

Accessibility & contrast

On white

7.68
#3348B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3348B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348B5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348B5#FFFFFF#000000##FFFFFF
##3348B51.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3348b5;
/* rgb */ color: rgb(51, 72, 181);
/* oklch */ color: oklch(45.4% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c7acc',
    500: '#3348b5',
    950: '#000000',
  },
}
SCSS
$custom: #3348b5;
$custom-light: #7c7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3348b5",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 230.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45415,
    "c": 0.17362,
    "h": 269.7
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#3348B5
secondary
#C6BB7D
accent
#C748DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3348B5

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

Preview Lab → · Contrast checker → · Palette generator →

#3348B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva