#3345B3#3345B3

#3345B3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.175 H 270.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3345B3
RGBrgb(51, 69, 179)
HSLhsl(232, 56%, 45%)
HSVhsv(232, 72%, 70%)
CMYKcmyk(71.5%, 61.5%, 0%, 29.8%)
CIE-LABlab(34.42, 30.86, -60.49)
CIE-LCHlch(34.42, 67.91, 297.03°)
OKLaboklab(44.68% 0.0014 -0.1746)
OKLCHoklch(44.68% 0.175 270.5)
XYZxyz(11.6273, 8.2136, 43.6117)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345B3 #B3A133
analogous
#3385B3 #3345B3 #6133B3
triadic
#3345B3 #B33345 #45B333
tetradic
#3345B3 #B33385 #B3A133 #33B361
square
#3345B3 #B33385 #B3A133 #33B361
split-complementary
#3345B3 #B36133 #85B333
monochromatic
#182054 #253383 #3345B3 #5566CE #8491DC

Accessibility & contrast

On white

7.95
#3345B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3345B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345B3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345B3#FFFFFF#000000##FFFFFF
##3345B31.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3345b3;
/* rgb */ color: rgb(51, 69, 179);
/* oklch */ color: oklch(44.7% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c78cb',
    500: '#3345b3',
    950: '#000000',
  },
}
SCSS
$custom: #3345b3;
$custom-light: #7c78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3345b3",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 231.563,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.17461,
    "h": 270.5
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#3345B3
secondary
#C6BB7C
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3345B3

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

Preview Lab → · Contrast checker → · Palette generator →

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