#3341BC#3341BC

#3341BC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.191 H 271.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3341BC
RGBrgb(51, 65, 188)
HSLhsl(234, 57%, 47%)
HSVhsv(234, 73%, 74%)
CMYKcmyk(72.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.22, 36.65, -66.14)
CIE-LCHlch(34.22, 75.61, 298.99°)
OKLaboklab(44.77% 0.0038 -0.1912)
OKLCHoklch(44.77% 0.191 271.1)
XYZxyz(12.3296, 8.1140, 48.4836)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341BC #BCAE33
analogous
#3385BC #3341BC #6A33BC
triadic
#3341BC #BC3341 #41BC33
tetradic
#3341BC #BC3385 #BCAE33 #33BC6A
square
#3341BC #BC3385 #BCAE33 #33BC6A
split-complementary
#3341BC #BC6A33 #85BC33
monochromatic
#19205C #26308C #3341BC #5A66D2 #8A93DF

Accessibility & contrast

On white

8.01
#3341BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3341BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341BC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341BC#FFFFFF#000000##FFFFFF
##3341BC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3341bc;
/* rgb */ color: rgb(51, 65, 188);
/* oklch */ color: oklch(44.8% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e76d1',
    500: '#3341bc',
    950: '#000000',
  },
}
SCSS
$custom: #3341bc;
$custom-light: #7e76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3341bc",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 233.869,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.19123,
    "h": 271.1
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#3341BC
secondary
#C9C281
accent
#D147E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #3341BC

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

Preview Lab → · Contrast checker → · Palette generator →

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