#3345AC#3345AC

#3345AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.165 H 270.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3345AC
RGBrgb(51, 69, 172)
HSLhsl(231, 54%, 44%)
HSVhsv(231, 70%, 67%)
CMYKcmyk(70.3%, 59.9%, 0%, 32.5%)
CIE-LABlab(33.85, 28.32, -57.26)
CIE-LCHlch(33.85, 63.88, 296.31°)
OKLaboklab(44.08% 0.0015 -0.1651)
OKLCHoklch(44.08% 0.165 270.5)
XYZxyz(10.9372, 7.9375, 39.9774)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345AC #AC9A33
analogous
#3381AC #3345AC #5D33AC
triadic
#3345AC #AC3345 #45AC33
tetradic
#3345AC #AC3381 #AC9A33 #33AC5D
square
#3345AC #AC3381 #AC9A33 #33AC5D
split-complementary
#3345AC #AC5D33 #81AC33
monochromatic
#171F4E #25327D #3345AC #5163CB #808DD9

Accessibility & contrast

On white

8.12
#3345AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3345AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345AC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345AC#FFFFFF#000000##FFFFFF
##3345AC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3345ac;
/* rgb */ color: rgb(51, 69, 172);
/* oklch */ color: oklch(44.1% 0.165 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b78c6',
    500: '#3345ac',
    950: '#000000',
  },
}
SCSS
$custom: #3345ac;
$custom-light: #7b78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3345ac",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 231.074,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.16513,
    "h": 270.5
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#3345AC
secondary
#C2B778
accent
#C84ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3345AC

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

Preview Lab → · Contrast checker → · Palette generator →

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