#3341C2#3341C2

#3341C2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.199 H 271.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3341C2
RGBrgb(51, 65, 194)
HSLhsl(234, 58%, 48%)
HSVhsv(234, 74%, 76%)
CMYKcmyk(73.7%, 66.5%, 0%, 23.9%)
CIE-LABlab(34.76, 38.76, -68.78)
CIE-LCHlch(34.76, 78.95, 299.41°)
OKLaboklab(45.33% 0.0033 -0.1989)
OKLCHoklch(45.33% 0.199 271)
XYZxyz(12.9898, 8.3781, 51.9610)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341C2 #C2B433
analogous
#3388C2 #3341C2 #6C33C2
triadic
#3341C2 #C23341 #41C233
tetradic
#3341C2 #C23388 #C2B433 #33C26C
square
#3341C2 #C23388 #C2B433 #33C26C
split-complementary
#3341C2 #C26C33 #88C233
monochromatic
#1A2161 #263192 #3341C2 #5E69D5 #8E96E1

Accessibility & contrast

On white

7.85
#3341C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3341C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341C2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341C2#FFFFFF#000000##FFFFFF
##3341C21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00647C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3341c2;
/* rgb */ color: rgb(51, 65, 194);
/* oklch */ color: oklch(45.3% 0.199 271.0);
Tailwind
colors: {
  custom: {
    50: '#8076d6',
    500: '#3341c2',
    950: '#000000',
  },
}
SCSS
$custom: #3341c2;
$custom-light: #8076d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3341c2",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 234.126,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45325,
    "c": 0.19894,
    "h": 271
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#3341C2
secondary
#CCC585
accent
#D246E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3341C2

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

Preview Lab → · Contrast checker → · Palette generator →

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