#3341B4#3341B4

#3341B4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.181 H 271.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3341B4
RGBrgb(51, 65, 180)
HSLhsl(233, 56%, 45%)
HSVhsv(233, 72%, 71%)
CMYKcmyk(71.7%, 63.9%, 0%, 29.4%)
CIE-LABlab(33.52, 33.80, -62.56)
CIE-LCHlch(33.52, 71.11, 298.38°)
OKLaboklab(44.04% 0.0043 -0.1807)
OKLCHoklch(44.04% 0.181 271.4)
XYZxyz(11.4910, 7.7785, 44.0670)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341B4 #B4A633
analogous
#3382B4 #3341B4 #6533B4
triadic
#3341B4 #B43341 #41B433
tetradic
#3341B4 #B43382 #B4A633 #33B465
square
#3341B4 #B43382 #B4A633 #33B465
split-complementary
#3341B4 #B46533 #82B433
monochromatic
#181F55 #253084 #3341B4 #5562CF #858EDC

Accessibility & contrast

On white

8.22
#3341B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3341B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341B4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341B4#FFFFFF#000000##FFFFFF
##3341B41.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3341b4;
/* rgb */ color: rgb(51, 65, 180);
/* oklch */ color: oklch(44.0% 0.181 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d75cb',
    500: '#3341b4',
    950: '#000000',
  },
}
SCSS
$custom: #3341b4;
$custom-light: #7d75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3341b4",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 233.488,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.18077,
    "h": 271.4
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3341B4

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

Preview Lab → · Contrast checker → · Palette generator →

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