#3345BA#3345BA

#3345BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.184 H 270.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3345BA
RGBrgb(51, 69, 186)
HSLhsl(232, 57%, 46%)
HSVhsv(232, 73%, 73%)
CMYKcmyk(72.6%, 62.9%, 0%, 27.1%)
CIE-LABlab(35.01, 33.39, -63.67)
CIE-LCHlch(35.01, 71.89, 297.68°)
OKLaboklab(45.29% 0.0012 -0.1839)
OKLCHoklch(45.29% 0.184 270.4)
XYZxyz(12.3533, 8.5040, 47.4352)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345BA #BAA833
analogous
#3389BA #3345BA #6533BA
triadic
#3345BA #BA3345 #45BA33
tetradic
#3345BA #BA3389 #BAA833 #33BA65
square
#3345BA #BA3389 #BAA833 #33BA65
split-complementary
#3345BA #BA6533 #89BA33
monochromatic
#19215A #26338A #3345BA #5969D1 #8994DF

Accessibility & contrast

On white

7.77
#3345BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3345BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345BA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345BA#FFFFFF#000000##FFFFFF
##3345BA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3345ba;
/* rgb */ color: rgb(51, 69, 186);
/* oklch */ color: oklch(45.3% 0.184 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e78d0',
    500: '#3345ba',
    950: '#000000',
  },
}
SCSS
$custom: #3345ba;
$custom-light: #7e78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3345ba",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 232,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45294,
    "c": 0.18392,
    "h": 270.4
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#3345BA
secondary
#C9BF80
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3345BA

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

Preview Lab → · Contrast checker → · Palette generator →

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