#3341B9#3341B9

#3341B9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.187 H 271.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3341B9
RGBrgb(51, 65, 185)
HSLhsl(234, 57%, 46%)
HSVhsv(234, 72%, 73%)
CMYKcmyk(72.4%, 64.9%, 0%, 27.5%)
CIE-LABlab(33.95, 35.58, -64.81)
CIE-LCHlch(33.95, 73.93, 298.77°)
OKLaboklab(44.49% 0.004 -0.1873)
OKLCHoklch(44.49% 0.187 271.2)
XYZxyz(12.0095, 7.9860, 46.7981)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341B9 #B9AB33
analogous
#3384B9 #3341B9 #6833B9
triadic
#3341B9 #B93341 #41B933
tetradic
#3341B9 #B93384 #B9AB33 #33B968
square
#3341B9 #B93384 #B9AB33 #33B968
split-complementary
#3341B9 #B96833 #84B933
monochromatic
#191F59 #263089 #3341B9 #5865D1 #8891DE

Accessibility & contrast

On white

8.09
#3341B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3341B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341B9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341B9#FFFFFF#000000##FFFFFF
##3341B91.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3341b9;
/* rgb */ color: rgb(51, 65, 185);
/* oklch */ color: oklch(44.5% 0.187 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e75cf',
    500: '#3341b9',
    950: '#000000',
  },
}
SCSS
$custom: #3341b9;
$custom-light: #7e75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3341b9",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 233.731,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.18733,
    "h": 271.2
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3341B9

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

Preview Lab → · Contrast checker → · Palette generator →

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