#3348B2#3348B2

#3348B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.170 H 269.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3348B2
RGBrgb(51, 72, 178)
HSLhsl(230, 55%, 45%)
HSVhsv(230, 71%, 70%)
CMYKcmyk(71.3%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.11, 28.55, -58.78)
CIE-LCHlch(35.11, 65.35, 295.90°)
OKLaboklab(45.16% -0.0008 -0.1696)
OKLCHoklch(45.16% 0.17 269.7)
XYZxyz(11.7157, 8.5517, 43.1441)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348B2 #B29D33
analogous
#3387B2 #3348B2 #5E33B2
triadic
#3348B2 #B23348 #48B233
tetradic
#3348B2 #B23387 #B29D33 #33B25E
square
#3348B2 #B23387 #B29D33 #33B25E
split-complementary
#3348B2 #B25E33 #87B233
monochromatic
#182253 #253582 #3348B2 #5468CE #8492DC

Accessibility & contrast

On white

7.75
#3348B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3348B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348B2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348B2#FFFFFF#000000##FFFFFF
##3348B21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3348b2;
/* rgb */ color: rgb(51, 72, 178);
/* oklch */ color: oklch(45.2% 0.170 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c7aca',
    500: '#3348b2',
    950: '#000000',
  },
}
SCSS
$custom: #3348b2;
$custom-light: #7c7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3348b2",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 230.079,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.16956,
    "h": 269.7
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#3348B2
secondary
#C5B97C
accent
#C649DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3348B2

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

Preview Lab → · Contrast checker → · Palette generator →

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