#3343A3#3343A3

#3343A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.155 H 271.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3343A3
RGBrgb(51, 67, 163)
HSLhsl(231, 52%, 42%)
HSVhsv(231, 69%, 64%)
CMYKcmyk(68.7%, 58.9%, 0%, 36.1%)
CIE-LABlab(32.62, 26.34, -53.88)
CIE-LCHlch(32.62, 59.98, 296.05°)
OKLaboklab(42.93% 0.0031 -0.1552)
OKLCHoklch(42.93% 0.155 271.1)
XYZxyz(9.9810, 7.3615, 35.5381)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343A3 #A39333
analogous
#337BA3 #3343A3 #5B33A3
triadic
#3343A3 #A33343 #43A333
tetradic
#3343A3 #A3337B #A39333 #33A35B
square
#3343A3 #A3337B #A39333 #33A35B
split-complementary
#3343A3 #A35B33 #7BA333
monochromatic
#161D46 #243074 #3343A3 #4C5EC7 #7B88D6

Accessibility & contrast

On white

8.49
#3343A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3343A3
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343A3#FFFFFF#000000##FFFFFF
##3343A31.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3343a3;
/* rgb */ color: rgb(51, 67, 163);
/* oklch */ color: oklch(42.9% 0.155 271.1);
Tailwind
colors: {
  custom: {
    50: '#7977bf',
    500: '#3343a3',
    950: '#000000',
  },
}
SCSS
$custom: #3343a3;
$custom-light: #7977bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3343a3",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 231.429,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42933,
    "c": 0.15525,
    "h": 271.1
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3343A3

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

Preview Lab → · Contrast checker → · Palette generator →

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