#3349A2#3349A2

#3349A2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.146 H 269.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3349A2
RGBrgb(51, 73, 162)
HSLhsl(228, 52%, 42%)
HSVhsv(228, 69%, 64%)
CMYKcmyk(68.5%, 54.9%, 0%, 36.5%)
CIE-LABlab(34.14, 22.00, -50.80)
CIE-LCHlch(34.14, 55.36, 293.41°)
OKLaboklab(44.05% -0.0022 -0.1461)
OKLCHoklch(44.05% 0.146 269.1)
XYZxyz(10.2671, 8.0765, 35.1933)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3349A2 #A28C33
analogous
#3381A2 #3349A2 #5533A2
triadic
#3349A2 #A23349 #49A233
tetradic
#3349A2 #A23381 #A28C33 #33A255
square
#3349A2 #A23381 #A28C33 #33A255
split-complementary
#3349A2 #A25533 #81A233
monochromatic
#161F45 #243473 #3349A2 #4C64C7 #7A8CD5

Accessibility & contrast

On white

8.03
#3349A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3349A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3349A2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3349A2#FFFFFF#000000##FFFFFF
##3349A21.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3349a2;
/* rgb */ color: rgb(51, 73, 162);
/* oklch */ color: oklch(44.1% 0.146 269.1);
Tailwind
colors: {
  custom: {
    50: '#787bbe',
    500: '#3349a2',
    950: '#000000',
  },
}
SCSS
$custom: #3349a2;
$custom-light: #787bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3349a2",
  "rgb": {
    "r": 51,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 228.108,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.14611,
    "h": 269.1
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#3349A2
secondary
#BEAF73
accent
#BF4CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3349A2

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

Preview Lab → · Contrast checker → · Palette generator →

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