#3348B3#3348B3

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

Color values

HEX#3348B3
RGBrgb(51, 72, 179)
HSLhsl(230, 56%, 45%)
HSVhsv(230, 72%, 70%)
CMYKcmyk(71.5%, 59.8%, 0%, 29.8%)
CIE-LABlab(35.19, 28.92, -59.25)
CIE-LCHlch(35.19, 65.93, 296.02°)
OKLaboklab(45.24% -0.0008 -0.1709)
OKLCHoklch(45.24% 0.171 269.7)
XYZxyz(11.8165, 8.5920, 43.6748)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348B3 #B39E33
analogous
#3388B3 #3348B3 #5E33B3
triadic
#3348B3 #B33348 #48B333
tetradic
#3348B3 #B33388 #B39E33 #33B35E
square
#3348B3 #B33388 #B39E33 #33B35E
split-complementary
#3348B3 #B35E33 #88B333
monochromatic
#182254 #253583 #3348B3 #5569CE #8493DC

Accessibility & contrast

On white

7.72
#3348B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3348B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348B3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348B3#FFFFFF#000000##FFFFFF
##3348B31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3348b3;
/* rgb */ color: rgb(51, 72, 179);
/* oklch */ color: oklch(45.2% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c7acb',
    500: '#3348b3',
    950: '#000000',
  },
}
SCSS
$custom: #3348b3;
$custom-light: #7c7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3348b3",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 230.156,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.17092,
    "h": 269.7
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#3348B3
secondary
#C6BA7C
accent
#C649DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3348B3

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

Preview Lab → · Contrast checker → · Palette generator →

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