#3348BA#3348BA

#3348BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.180 H 269.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3348BA
RGBrgb(51, 72, 186)
HSLhsl(231, 57%, 46%)
HSVhsv(231, 73%, 73%)
CMYKcmyk(72.6%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.76, 31.47, -62.45)
CIE-LCHlch(35.76, 69.93, 296.74°)
OKLaboklab(45.85% -0.0009 -0.1803)
OKLCHoklch(45.85% 0.18 269.7)
XYZxyz(12.5425, 8.8824, 47.4983)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348BA #BAA533
analogous
#338CBA #3348BA #6233BA
triadic
#3348BA #BA3348 #48BA33
tetradic
#3348BA #BA338C #BAA533 #33BA62
square
#3348BA #BA338C #BAA533 #33BA62
split-complementary
#3348BA #BA6233 #8CBA33
monochromatic
#19235A #26358A #3348BA #596CD1 #8996DF

Accessibility & contrast

On white

7.56
#3348BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3348BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348BA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348BA#FFFFFF#000000##FFFFFF
##3348BA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3348ba;
/* rgb */ color: rgb(51, 72, 186);
/* oklch */ color: oklch(45.8% 0.180 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d7ad0',
    500: '#3348ba',
    950: '#000000',
  },
}
SCSS
$custom: #3348ba;
$custom-light: #7d7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3348ba",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 230.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.18031,
    "h": 269.7
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3348BA

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

Preview Lab → · Contrast checker → · Palette generator →

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