#3343B2#3343B2

#3343B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.176 H 270.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3343B2
RGBrgb(51, 67, 178)
HSLhsl(232, 55%, 45%)
HSVhsv(232, 71%, 70%)
CMYKcmyk(71.3%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.84, 31.80, -60.85)
CIE-LCHlch(33.84, 68.66, 297.59°)
OKLaboklab(44.22% 0.0029 -0.1757)
OKLCHoklch(44.22% 0.176 270.9)
XYZxyz(11.4055, 7.9313, 43.0407)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343B2 #B2A233
analogous
#3383B2 #3343B2 #6333B2
triadic
#3343B2 #B23343 #43B233
tetradic
#3343B2 #B23383 #B2A233 #33B263
square
#3343B2 #B23383 #B2A233 #33B263
split-complementary
#3343B2 #B26333 #83B233
monochromatic
#181F53 #253182 #3343B2 #5464CE #848FDC

Accessibility & contrast

On white

8.12
#3343B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3343B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343B2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343B2#FFFFFF#000000##FFFFFF
##3343B21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3343b2;
/* rgb */ color: rgb(51, 67, 178);
/* oklch */ color: oklch(44.2% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c77ca',
    500: '#3343b2',
    950: '#000000',
  },
}
SCSS
$custom: #3343b2;
$custom-light: #7c77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3343b2",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 232.441,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.1757,
    "h": 270.9
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#3343B2
secondary
#C5BC7C
accent
#CC49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3343B2

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

Preview Lab → · Contrast checker → · Palette generator →

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