#3341C0#3341C0

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

Color values

HEX#3341C0
RGBrgb(51, 65, 192)
HSLhsl(234, 58%, 48%)
HSVhsv(234, 73%, 75%)
CMYKcmyk(73.4%, 66.1%, 0%, 24.7%)
CIE-LABlab(34.58, 38.06, -67.90)
CIE-LCHlch(34.58, 77.84, 299.27°)
OKLaboklab(45.14% 0.0035 -0.1963)
OKLCHoklch(45.14% 0.196 271)
XYZxyz(12.7667, 8.2888, 50.7860)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341C0 #C0B233
analogous
#3387C0 #3341C0 #6C33C0
triadic
#3341C0 #C03341 #41C033
tetradic
#3341C0 #C03387 #C0B233 #33C06C
square
#3341C0 #C03387 #C0B233 #33C06C
split-complementary
#3341C0 #C06C33 #87C033
monochromatic
#19205F #263190 #3341C0 #5C68D4 #8D95E1

Accessibility & contrast

On white

7.90
#3341C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3341C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341C0
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341C0#FFFFFF#000000##FFFFFF
##3341C01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3341c0;
/* rgb */ color: rgb(51, 65, 192);
/* oklch */ color: oklch(45.1% 0.196 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f76d4',
    500: '#3341c0',
    950: '#000000',
  },
}
SCSS
$custom: #3341c0;
$custom-light: #7f76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3341c0",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 234.043,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.19638,
    "h": 271
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3341C0

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

Preview Lab → · Contrast checker → · Palette generator →

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