#3345B5#3345B5

#3345B5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.177 H 270.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3345B5
RGBrgb(51, 69, 181)
HSLhsl(232, 56%, 45%)
HSVhsv(232, 72%, 71%)
CMYKcmyk(71.8%, 61.9%, 0%, 29%)
CIE-LABlab(34.59, 31.59, -61.40)
CIE-LCHlch(34.59, 69.05, 297.22°)
OKLaboklab(44.85% 0.0014 -0.1773)
OKLCHoklch(44.85% 0.177 270.4)
XYZxyz(11.8310, 8.2950, 44.6847)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345B5 #B5A333
analogous
#3386B5 #3345B5 #6233B5
triadic
#3345B5 #B53345 #45B533
tetradic
#3345B5 #B53386 #B5A333 #33B562
square
#3345B5 #B53386 #B5A333 #33B562
split-complementary
#3345B5 #B56233 #86B533
monochromatic
#182156 #263385 #3345B5 #5667CF #8692DD

Accessibility & contrast

On white

7.90
#3345B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3345B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345B5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345B5#FFFFFF#000000##FFFFFF
##3345B51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3345b5;
/* rgb */ color: rgb(51, 69, 181);
/* oklch */ color: oklch(44.9% 0.177 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d78cc',
    500: '#3345b5',
    950: '#000000',
  },
}
SCSS
$custom: #3345b5;
$custom-light: #7d78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3345b5",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 231.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.17729,
    "h": 270.4
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#3345B5
secondary
#C6BC7D
accent
#CA48DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3345B5

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

Preview Lab → · Contrast checker → · Palette generator →

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