#3348B4#3348B4

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

Color values

HEX#3348B4
RGBrgb(51, 72, 180)
HSLhsl(230, 56%, 45%)
HSVhsv(230, 72%, 71%)
CMYKcmyk(71.7%, 60%, 0%, 29.4%)
CIE-LABlab(35.27, 29.28, -59.71)
CIE-LCHlch(35.27, 66.50, 296.12°)
OKLaboklab(45.33% -0.0008 -0.1723)
OKLCHoklch(45.33% 0.172 269.7)
XYZxyz(11.9180, 8.6326, 44.2093)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348B4 #B49F33
analogous
#3388B4 #3348B4 #5F33B4
triadic
#3348B4 #B43348 #48B433
tetradic
#3348B4 #B43388 #B49F33 #33B45F
square
#3348B4 #B43388 #B49F33 #33B45F
split-complementary
#3348B4 #B45F33 #88B433
monochromatic
#182255 #253584 #3348B4 #5569CF #8593DC

Accessibility & contrast

On white

7.70
#3348B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3348B4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348B4#FFFFFF#000000##FFFFFF
##3348B41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3348b4;
/* rgb */ color: rgb(51, 72, 180);
/* oklch */ color: oklch(45.3% 0.172 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c7acb',
    500: '#3348b4',
    950: '#000000',
  },
}
SCSS
$custom: #3348b4;
$custom-light: #7c7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3348b4",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 230.233,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.17227,
    "h": 269.7
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#3348B4
secondary
#C6BA7D
accent
#C749DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3348B4

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

Preview Lab → · Contrast checker → · Palette generator →

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