#3343A2#3343A2

#3343A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.154 H 271.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3343A2
RGBrgb(51, 67, 162)
HSLhsl(231, 52%, 42%)
HSVhsv(231, 69%, 64%)
CMYKcmyk(68.5%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.54, 25.98, -53.41)
CIE-LCHlch(32.54, 59.39, 295.94°)
OKLaboklab(42.85% 0.0031 -0.1538)
OKLCHoklch(42.85% 0.154 271.1)
XYZxyz(9.8918, 7.3258, 35.0681)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343A2 #A29233
analogous
#337BA2 #3343A2 #5A33A2
triadic
#3343A2 #A23343 #43A233
tetradic
#3343A2 #A2337B #A29233 #33A25A
square
#3343A2 #A2337B #A29233 #33A25A
split-complementary
#3343A2 #A25A33 #7BA233
monochromatic
#161C45 #243073 #3343A2 #4C5DC7 #7A87D5

Accessibility & contrast

On white

8.52
#3343A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3343A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343A2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343A2#FFFFFF#000000##FFFFFF
##3343A21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3343a2;
/* rgb */ color: rgb(51, 67, 162);
/* oklch */ color: oklch(42.8% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#7977be',
    500: '#3343a2',
    950: '#000000',
  },
}
SCSS
$custom: #3343a2;
$custom-light: #7977be;
$custom-dark: #000000;
JSON
{
  "hex": "#3343a2",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 231.351,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.15385,
    "h": 271.1
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#3343A2
secondary
#BEB373
accent
#C74CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3343A2

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

Preview Lab → · Contrast checker → · Palette generator →

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