#3341B7#3341B7

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

Color values

HEX#3341B7
RGBrgb(51, 65, 183)
HSLhsl(234, 56%, 46%)
HSVhsv(234, 72%, 72%)
CMYKcmyk(72.1%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.78, 34.87, -63.91)
CIE-LCHlch(33.78, 72.81, 298.62°)
OKLaboklab(44.31% 0.0041 -0.1847)
OKLCHoklch(44.31% 0.185 271.3)
XYZxyz(11.7999, 7.9021, 45.6940)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341B7 #B7A933
analogous
#3383B7 #3341B7 #6733B7
triadic
#3341B7 #B73341 #41B733
tetradic
#3341B7 #B73383 #B7A933 #33B767
square
#3341B7 #B73383 #B7A933 #33B767
split-complementary
#3341B7 #B76733 #83B733
monochromatic
#181F57 #263087 #3341B7 #5764D0 #8790DE

Accessibility & contrast

On white

8.14
#3341B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3341B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341B7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341B7#FFFFFF#000000##FFFFFF
##3341B71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3341b7;
/* rgb */ color: rgb(51, 65, 183);
/* oklch */ color: oklch(44.3% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#7d75ce',
    500: '#3341b7',
    950: '#000000',
  },
}
SCSS
$custom: #3341b7;
$custom-light: #7d75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3341b7",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 233.636,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.18472,
    "h": 271.3
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#3341B7
secondary
#C7C07F
accent
#D048E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3341B7

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

Preview Lab → · Contrast checker → · Palette generator →

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