#3342C5#3342C5

#3342C5 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.8% C 0.202 H 270.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3342C5
RGBrgb(51, 66, 197)
HSLhsl(234, 59%, 49%)
HSVhsv(234, 74%, 77%)
CMYKcmyk(74.1%, 66.5%, 0%, 22.7%)
CIE-LABlab(35.26, 39.20, -69.70)
CIE-LCHlch(35.26, 79.97, 299.35°)
OKLaboklab(45.78% 0.0025 -0.2016)
OKLCHoklch(45.78% 0.202 270.7)
XYZxyz(13.3881, 8.6300, 53.7727)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3342C5 #C5B633
analogous
#338BC5 #3342C5 #6D33C5
triadic
#3342C5 #C53342 #42C533
tetradic
#3342C5 #C5338B #C5B633 #33C56D
square
#3342C5 #C5338B #C5B633 #33C56D
split-complementary
#3342C5 #C56D33 #8BC533
monochromatic
#1A2164 #263294 #3342C5 #5F6CD6 #9099E2

Accessibility & contrast

On white

7.70
#3342C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3342C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3342C5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3342C5#FFFFFF#000000##FFFFFF
##3342C51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3342c5;
/* rgb */ color: rgb(51, 66, 197);
/* oklch */ color: oklch(45.8% 0.202 270.7);
Tailwind
colors: {
  custom: {
    50: '#8076d8',
    500: '#3342c5',
    950: '#000000',
  },
}
SCSS
$custom: #3342c5;
$custom-light: #8076d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3342c5",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 233.836,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.20164,
    "h": 270.7
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3342C5

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

Preview Lab → · Contrast checker → · Palette generator →

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