#3343AC#3343AC

#3343AC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.168 H 271.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3343AC
RGBrgb(51, 67, 172)
HSLhsl(232, 54%, 44%)
HSVhsv(232, 70%, 67%)
CMYKcmyk(70.3%, 61%, 0%, 32.5%)
CIE-LABlab(33.34, 29.62, -58.09)
CIE-LCHlch(33.34, 65.21, 297.02°)
OKLaboklab(43.7% 0.0031 -0.1676)
OKLCHoklch(43.7% 0.168 271)
XYZxyz(10.8163, 7.6956, 39.9371)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343AC #AC9C33
analogous
#337FAC #3343AC #5F33AC
triadic
#3343AC #AC3343 #43AC33
tetradic
#3343AC #AC337F #AC9C33 #33AC5F
square
#3343AC #AC337F #AC9C33 #33AC5F
split-complementary
#3343AC #AC5F33 #7FAC33
monochromatic
#171E4E #25317D #3343AC #5161CB #808CD9

Accessibility & contrast

On white

8.27
#3343AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3343AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343AC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343AC#FFFFFF#000000##FFFFFF
##3343AC1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3343ac;
/* rgb */ color: rgb(51, 67, 172);
/* oklch */ color: oklch(43.7% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#7b77c6',
    500: '#3343ac',
    950: '#000000',
  },
}
SCSS
$custom: #3343ac;
$custom-light: #7b77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3343ac",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 232.066,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.16762,
    "h": 271
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#3343AC
secondary
#C2B978
accent
#CA4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3343AC

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

Preview Lab → · Contrast checker → · Palette generator →

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