#3341C5#3341C5

#3341C5 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.6% C 0.203 H 270.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3341C5
RGBrgb(51, 65, 197)
HSLhsl(234, 59%, 49%)
HSVhsv(234, 74%, 77%)
CMYKcmyk(74.1%, 67%, 0%, 22.7%)
CIE-LABlab(35.03, 39.81, -70.08)
CIE-LCHlch(35.03, 80.60, 299.60°)
OKLaboklab(45.61% 0.0031 -0.2027)
OKLCHoklch(45.61% 0.203 270.9)
XYZxyz(13.3302, 8.5142, 53.7534)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341C5 #C5B733
analogous
#338AC5 #3341C5 #6E33C5
triadic
#3341C5 #C53341 #41C533
tetradic
#3341C5 #C5338A #C5B733 #33C56E
square
#3341C5 #C5338A #C5B733 #33C56E
split-complementary
#3341C5 #C56E33 #8AC533
monochromatic
#1A2164 #263194 #3341C5 #5F6BD6 #9098E2

Accessibility & contrast

On white

7.77
#3341C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3341C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341C5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341C5#FFFFFF#000000##FFFFFF
##3341C51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3341c5;
/* rgb */ color: rgb(51, 65, 197);
/* oklch */ color: oklch(45.6% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#8176d8',
    500: '#3341c5',
    950: '#000000',
  },
}
SCSS
$custom: #3341c5;
$custom-light: #8176d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3341c5",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 234.247,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.20275,
    "h": 270.9
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#3341C5
secondary
#CDC687
accent
#D346E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3341C5

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

Preview Lab → · Contrast checker → · Palette generator →

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