#3345BC#3345BC

#3345BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.187 H 270.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3345BC
RGBrgb(51, 69, 188)
HSLhsl(232, 57%, 47%)
HSVhsv(232, 73%, 74%)
CMYKcmyk(72.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(35.18, 34.11, -64.56)
CIE-LCHlch(35.18, 73.02, 297.85°)
OKLaboklab(45.47% 0.0012 -0.1865)
OKLCHoklch(45.47% 0.187 270.4)
XYZxyz(12.5674, 8.5896, 48.5628)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345BC #BCAA33
analogous
#338ABC #3345BC #6633BC
triadic
#3345BC #BC3345 #45BC33
tetradic
#3345BC #BC338A #BCAA33 #33BC66
square
#3345BC #BC338A #BCAA33 #33BC66
split-complementary
#3345BC #BC6633 #8ABC33
monochromatic
#19225C #26338C #3345BC #5A6AD2 #8A95DF

Accessibility & contrast

On white

7.73
#3345BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3345BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345BC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345BC#FFFFFF#000000##FFFFFF
##3345BC1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3345bc;
/* rgb */ color: rgb(51, 69, 188);
/* oklch */ color: oklch(45.5% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e78d1',
    500: '#3345bc',
    950: '#000000',
  },
}
SCSS
$custom: #3345bc;
$custom-light: #7e78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3345bc",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 232.117,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.18655,
    "h": 270.4
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#3345BC
secondary
#C9C081
accent
#CC47E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3345BC

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

Preview Lab → · Contrast checker → · Palette generator →

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