#3345C2#3345C2

#3345C2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.194 H 270.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3345C2
RGBrgb(51, 69, 194)
HSLhsl(232, 58%, 48%)
HSVhsv(232, 74%, 76%)
CMYKcmyk(73.7%, 64.4%, 0%, 23.9%)
CIE-LABlab(35.70, 36.26, -67.23)
CIE-LCHlch(35.70, 76.39, 298.34°)
OKLaboklab(46.01% 0.0009 -0.1944)
OKLCHoklch(46.01% 0.194 270.3)
XYZxyz(13.2276, 8.8537, 52.0403)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345C2 #C2B033
analogous
#338CC2 #3345C2 #6933C2
triadic
#3345C2 #C23345 #45C233
tetradic
#3345C2 #C2338C #C2B033 #33C269
square
#3345C2 #C2338C #C2B033 #33C269
split-complementary
#3345C2 #C26933 #8CC233
monochromatic
#1A2361 #263492 #3345C2 #5E6DD5 #8E99E1

Accessibility & contrast

On white

7.58
#3345C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3345C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345C2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345C2#FFFFFF#000000##FFFFFF
##3345C21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3345c2;
/* rgb */ color: rgb(51, 69, 194);
/* oklch */ color: oklch(46.0% 0.194 270.3);
Tailwind
colors: {
  custom: {
    50: '#8078d5',
    500: '#3345c2',
    950: '#000000',
  },
}
SCSS
$custom: #3345c2;
$custom-light: #8078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3345c2",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 232.448,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.19436,
    "h": 270.3
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#3345C2
secondary
#CCC385
accent
#CE46E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3345C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3345C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva