#3348A4#3348A4

#3348A4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.150 H 269.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3348A4
RGBrgb(51, 72, 164)
HSLhsl(229, 53%, 42%)
HSVhsv(229, 69%, 64%)
CMYKcmyk(68.9%, 56.1%, 0%, 35.7%)
CIE-LABlab(34.02, 23.40, -52.20)
CIE-LCHlch(34.02, 57.21, 294.15°)
OKLaboklab(44.01% -0.0012 -0.1502)
OKLCHoklch(44.01% 0.15 269.5)
XYZxyz(10.3812, 8.0179, 36.1153)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348A4 #A48F33
analogous
#3380A4 #3348A4 #5733A4
triadic
#3348A4 #A43348 #48A433
tetradic
#3348A4 #A43380 #A48F33 #33A457
square
#3348A4 #A43380 #A48F33 #33A457
split-complementary
#3348A4 #A45733 #80A433
monochromatic
#161F47 #243475 #3348A4 #4D63C8 #7B8CD6

Accessibility & contrast

On white

8.07
#3348A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3348A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348A4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348A4#FFFFFF#000000##FFFFFF
##3348A41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3348a4;
/* rgb */ color: rgb(51, 72, 164);
/* oklch */ color: oklch(44.0% 0.150 269.5);
Tailwind
colors: {
  custom: {
    50: '#797ac0',
    500: '#3348a4',
    950: '#000000',
  },
}
SCSS
$custom: #3348a4;
$custom-light: #797ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3348a4",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 228.85,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44007,
    "c": 0.15021,
    "h": 269.5
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#3348A4
secondary
#BFB174
accent
#C14CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3348A4

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

Preview Lab → · Contrast checker → · Palette generator →

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