#3341B3#3341B3

#3341B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.179 H 271.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3341B3
RGBrgb(51, 65, 179)
HSLhsl(233, 56%, 45%)
HSVhsv(233, 72%, 70%)
CMYKcmyk(71.5%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.43, 33.44, -62.11)
CIE-LCHlch(33.43, 70.54, 298.30°)
OKLaboklab(43.95% 0.0043 -0.1794)
OKLCHoklch(43.95% 0.179 271.4)
XYZxyz(11.3895, 7.7379, 43.5324)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341B3 #B3A533
analogous
#3381B3 #3341B3 #6533B3
triadic
#3341B3 #B33341 #41B333
tetradic
#3341B3 #B33381 #B3A533 #33B365
square
#3341B3 #B33381 #B3A533 #33B365
split-complementary
#3341B3 #B36533 #81B333
monochromatic
#181E54 #253083 #3341B3 #5562CE #848EDC

Accessibility & contrast

On white

8.24
#3341B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3341B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341B3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341B3#FFFFFF#000000##FFFFFF
##3341B31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3341b3;
/* rgb */ color: rgb(51, 65, 179);
/* oklch */ color: oklch(43.9% 0.179 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c75cb',
    500: '#3341b3',
    950: '#000000',
  },
}
SCSS
$custom: #3341b3;
$custom-light: #7c75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3341b3",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 233.438,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.17945,
    "h": 271.4
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#3341B3
secondary
#C6BE7C
accent
#CF49DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3341B3

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

Preview Lab → · Contrast checker → · Palette generator →

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