#3341C1#3341C1

#3341C1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.198 H 271.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3341C1
RGBrgb(51, 65, 193)
HSLhsl(234, 58%, 48%)
HSVhsv(234, 74%, 76%)
CMYKcmyk(73.6%, 66.3%, 0%, 24.3%)
CIE-LABlab(34.67, 38.41, -68.34)
CIE-LCHlch(34.67, 78.40, 299.34°)
OKLaboklab(45.23% 0.0034 -0.1976)
OKLCHoklch(45.23% 0.198 271)
XYZxyz(12.8779, 8.3333, 51.3715)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341C1 #C1B333
analogous
#3388C1 #3341C1 #6C33C1
triadic
#3341C1 #C13341 #41C133
tetradic
#3341C1 #C13388 #C1B333 #33C16C
square
#3341C1 #C13388 #C1B333 #33C16C
split-complementary
#3341C1 #C16C33 #88C133
monochromatic
#192060 #263191 #3341C1 #5D69D4 #8D96E1

Accessibility & contrast

On white

7.87
#3341C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3341C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341C1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341C1#FFFFFF#000000##FFFFFF
##3341C11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3341c1;
/* rgb */ color: rgb(51, 65, 193);
/* oklch */ color: oklch(45.2% 0.198 271.0);
Tailwind
colors: {
  custom: {
    50: '#8076d5',
    500: '#3341c1',
    950: '#000000',
  },
}
SCSS
$custom: #3341c1;
$custom-light: #8076d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3341c1",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 234.085,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.19766,
    "h": 271
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#3341C1
secondary
#CBC484
accent
#D246E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3341C1

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

Preview Lab → · Contrast checker → · Palette generator →

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