#3345A7#3345A7

#3345A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.158 H 270.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3345A7
RGBrgb(51, 69, 167)
HSLhsl(231, 53%, 43%)
HSVhsv(231, 69%, 65%)
CMYKcmyk(69.5%, 58.7%, 0%, 34.5%)
CIE-LABlab(33.45, 26.49, -54.92)
CIE-LCHlch(33.45, 60.97, 295.75°)
OKLaboklab(43.66% 0.0014 -0.1582)
OKLCHoklch(43.66% 0.158 270.5)
XYZxyz(10.4660, 7.7491, 37.4959)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345A7 #A79533
analogous
#337FA7 #3345A7 #5B33A7
triadic
#3345A7 #A73345 #45A733
tetradic
#3345A7 #A7337F #A79533 #33A75B
square
#3345A7 #A7337F #A79533 #33A75B
split-complementary
#3345A7 #A75B33 #7FA733
monochromatic
#161E49 #253278 #3345A7 #4E61C9 #7D8BD7

Accessibility & contrast

On white

8.24
#3345A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3345A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345A7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345A7#FFFFFF#000000##FFFFFF
##3345A71.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3345a7;
/* rgb */ color: rgb(51, 69, 167);
/* oklch */ color: oklch(43.7% 0.158 270.5);
Tailwind
colors: {
  custom: {
    50: '#7978c2',
    500: '#3345a7',
    950: '#000000',
  },
}
SCSS
$custom: #3345a7;
$custom-light: #7978c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3345a7",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 230.69,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.15825,
    "h": 270.5
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#3345A7
secondary
#C0B576
accent
#C64BDD
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3345A7

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

Preview Lab → · Contrast checker → · Palette generator →

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