#3342C0#3342C0

#3342C0 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.195 H 270.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3342C0
RGBrgb(51, 66, 192)
HSLhsl(234, 58%, 48%)
HSVhsv(234, 73%, 75%)
CMYKcmyk(73.4%, 65.6%, 0%, 24.7%)
CIE-LABlab(34.81, 37.43, -67.52)
CIE-LCHlch(34.81, 77.20, 299.01°)
OKLaboklab(45.31% 0.0029 -0.1952)
OKLCHoklch(45.31% 0.195 270.8)
XYZxyz(12.8246, 8.4047, 50.8053)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3342C0 #C0B133
analogous
#3388C0 #3342C0 #6A33C0
triadic
#3342C0 #C03342 #42C033
tetradic
#3342C0 #C03388 #C0B133 #33C06A
square
#3342C0 #C03388 #C0B133 #33C06A
split-complementary
#3342C0 #C06A33 #88C033
monochromatic
#19215F #263190 #3342C0 #5C69D4 #8D96E1

Accessibility & contrast

On white

7.83
#3342C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3342C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3342C0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3342C0#FFFFFF#000000##FFFFFF
##3342C01.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3342c0;
/* rgb */ color: rgb(51, 66, 192);
/* oklch */ color: oklch(45.3% 0.195 270.8);
Tailwind
colors: {
  custom: {
    50: '#7f76d4',
    500: '#3342c0',
    950: '#000000',
  },
}
SCSS
$custom: #3342c0;
$custom-light: #7f76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3342c0",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 233.617,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.19524,
    "h": 270.8
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#3342C0
secondary
#CBC384
accent
#D147E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3342C0

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

Preview Lab → · Contrast checker → · Palette generator →

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