#3348B7#3348B7

#3348B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.176 H 269.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3348B7
RGBrgb(51, 72, 183)
HSLhsl(230, 56%, 46%)
HSVhsv(230, 72%, 72%)
CMYKcmyk(72.1%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.51, 30.38, -61.08)
CIE-LCHlch(35.51, 68.22, 296.44°)
OKLaboklab(45.59% -0.0008 -0.1763)
OKLCHoklch(45.59% 0.176 269.7)
XYZxyz(12.2269, 8.7562, 45.8363)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348B7 #B7A233
analogous
#338AB7 #3348B7 #6033B7
triadic
#3348B7 #B73348 #48B733
tetradic
#3348B7 #B7338A #B7A233 #33B760
square
#3348B7 #B7338A #B7A233 #33B760
split-complementary
#3348B7 #B76033 #8AB733
monochromatic
#182257 #263587 #3348B7 #576AD0 #8795DE

Accessibility & contrast

On white

7.63
#3348B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3348B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348B7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348B7#FFFFFF#000000##FFFFFF
##3348B71.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)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3348b7;
/* rgb */ color: rgb(51, 72, 183);
/* oklch */ color: oklch(45.6% 0.176 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d7acd',
    500: '#3348b7',
    950: '#000000',
  },
}
SCSS
$custom: #3348b7;
$custom-light: #7d7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3348b7",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 230.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.1763,
    "h": 269.7
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#3348B7
secondary
#C7BC7F
accent
#C848E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3348B7

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

Preview Lab → · Contrast checker → · Palette generator →

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