#3348A2#3348A2

#3348A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.147 H 269.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3348A2
RGBrgb(51, 72, 162)
HSLhsl(229, 52%, 42%)
HSVhsv(229, 69%, 64%)
CMYKcmyk(68.5%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.87, 22.66, -51.24)
CIE-LCHlch(33.87, 56.03, 293.86°)
OKLaboklab(43.85% -0.0013 -0.1474)
OKLCHoklch(43.85% 0.147 269.5)
XYZxyz(10.2020, 7.9462, 35.1715)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3348A2 #A28D33
analogous
#3380A2 #3348A2 #5633A2
triadic
#3348A2 #A23348 #48A233
tetradic
#3348A2 #A23380 #A28D33 #33A256
square
#3348A2 #A23380 #A28D33 #33A256
split-complementary
#3348A2 #A25633 #80A233
monochromatic
#161F45 #243373 #3348A2 #4C63C7 #7A8BD5

Accessibility & contrast

On white

8.11
#3348A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3348A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3348A2
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3348A2#FFFFFF#000000##FFFFFF
##3348A21.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3348a2;
/* rgb */ color: rgb(51, 72, 162);
/* oklch */ color: oklch(43.8% 0.147 269.5);
Tailwind
colors: {
  custom: {
    50: '#787abe',
    500: '#3348a2',
    950: '#000000',
  },
}
SCSS
$custom: #3348a2;
$custom-light: #787abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3348a2",
  "rgb": {
    "r": 51,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 228.649,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.1474,
    "h": 269.5
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#3348A2
secondary
#BEB073
accent
#C04CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3348A2

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

Preview Lab → · Contrast checker → · Palette generator →

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