#3343C2#3343C2

#3343C2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.197 H 270.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3343C2
RGBrgb(51, 67, 194)
HSLhsl(233, 58%, 48%)
HSVhsv(233, 74%, 76%)
CMYKcmyk(73.7%, 65.5%, 0%, 23.9%)
CIE-LABlab(35.23, 37.52, -68.01)
CIE-LCHlch(35.23, 77.67, 298.88°)
OKLaboklab(45.67% 0.0021 -0.1967)
OKLCHoklch(45.67% 0.197 270.6)
XYZxyz(13.1067, 8.6118, 52.0000)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343C2 #C2B233
analogous
#338AC2 #3343C2 #6B33C2
triadic
#3343C2 #C23343 #43C233
tetradic
#3343C2 #C2338A #C2B233 #33C26B
square
#3343C2 #C2338A #C2B233 #33C26B
split-complementary
#3343C2 #C26B33 #8AC233
monochromatic
#1A2261 #263292 #3343C2 #5E6BD5 #8E97E1

Accessibility & contrast

On white

7.71
#3343C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3343C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343C2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343C2#FFFFFF#000000##FFFFFF
##3343C21.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3343c2;
/* rgb */ color: rgb(51, 67, 194);
/* oklch */ color: oklch(45.7% 0.197 270.6);
Tailwind
colors: {
  custom: {
    50: '#8077d6',
    500: '#3343c2',
    950: '#000000',
  },
}
SCSS
$custom: #3343c2;
$custom-light: #8077d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3343c2",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 233.287,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.19667,
    "h": 270.6
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#3343C2
secondary
#CCC485
accent
#D046E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3343C2

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

Preview Lab → · Contrast checker → · Palette generator →

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