#3341B6#3341B6

#3341B6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.183 H 271.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3341B6
RGBrgb(51, 65, 182)
HSLhsl(234, 56%, 46%)
HSVhsv(234, 72%, 71%)
CMYKcmyk(72%, 64.3%, 0%, 28.6%)
CIE-LABlab(33.69, 34.51, -63.46)
CIE-LCHlch(33.69, 72.24, 298.54°)
OKLaboklab(44.22% 0.0042 -0.1834)
OKLCHoklch(44.22% 0.183 271.3)
XYZxyz(11.6962, 7.8606, 45.1477)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341B6 #B6A833
analogous
#3382B6 #3341B6 #6633B6
triadic
#3341B6 #B63341 #41B633
tetradic
#3341B6 #B63382 #B6A833 #33B666
square
#3341B6 #B63382 #B6A833 #33B666
split-complementary
#3341B6 #B66633 #82B633
monochromatic
#181F56 #263086 #3341B6 #5663D0 #8690DD

Accessibility & contrast

On white

8.16
#3341B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3341B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341B6
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341B6#FFFFFF#000000##FFFFFF
##3341B61.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3341b6;
/* rgb */ color: rgb(51, 65, 182);
/* oklch */ color: oklch(44.2% 0.183 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d75cd',
    500: '#3341b6',
    950: '#000000',
  },
}
SCSS
$custom: #3341b6;
$custom-light: #7d75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3341b6",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 233.588,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44218,
    "c": 0.18341,
    "h": 271.3
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

primary
#3341B6
secondary
#C7BF7E
accent
#CF48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3341B6

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

Preview Lab → · Contrast checker → · Palette generator →

#3341B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva