#3345BF#3345BF

#3345BF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.7% C 0.190 H 270.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#3345BF
RGBrgb(51, 69, 191)
HSLhsl(232, 58%, 47%)
HSVhsv(232, 73%, 75%)
CMYKcmyk(73.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(35.44, 35.19, -65.90)
CIE-LCHlch(35.44, 74.71, 298.10°)
OKLaboklab(45.74% 0.001 -0.1905)
OKLCHoklch(45.74% 0.19 270.3)
XYZxyz(12.8941, 8.7203, 50.2838)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345BF #BFAD33
analogous
#338BBF #3345BF #6733BF
triadic
#3345BF #BF3345 #45BF33
tetradic
#3345BF #BF338B #BFAD33 #33BF67
square
#3345BF #BF338B #BFAD33 #33BF67
split-complementary
#3345BF #BF6733 #8BBF33
monochromatic
#19225E #26348F #3345BF #5C6BD3 #8C97E0

Accessibility & contrast

On white

7.65
#3345BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3345BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345BF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345BF#FFFFFF#000000##FFFFFF
##3345BF1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3345bf;
/* rgb */ color: rgb(51, 69, 191);
/* oklch */ color: oklch(45.7% 0.190 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f78d3',
    500: '#3345bf',
    950: '#000000',
  },
}
SCSS
$custom: #3345bf;
$custom-light: #7f78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3345bf",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 232.286,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.19047,
    "h": 270.3
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#3345BF
secondary
#CBC183
accent
#CD47E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3345BF

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

Preview Lab → · Contrast checker → · Palette generator →

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