#3345A6#3345A6

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

Color values

HEX#3345A6
RGBrgb(51, 69, 166)
HSLhsl(231, 53%, 43%)
HSVhsv(231, 69%, 65%)
CMYKcmyk(69.3%, 58.4%, 0%, 34.9%)
CIE-LABlab(33.38, 26.12, -54.45)
CIE-LCHlch(33.38, 60.39, 295.63°)
OKLaboklab(43.57% 0.0014 -0.1568)
OKLCHoklch(43.57% 0.157 270.5)
XYZxyz(10.3740, 7.7122, 37.0109)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345A6 #A69433
analogous
#337EA6 #3345A6 #5B33A6
triadic
#3345A6 #A63345 #45A633
tetradic
#3345A6 #A6337E #A69433 #33A65B
square
#3345A6 #A6337E #A69433 #33A65B
split-complementary
#3345A6 #A65B33 #7EA633
monochromatic
#161E48 #253277 #3345A6 #4E61C9 #7C8BD7

Accessibility & contrast

On white

8.26
#3345A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3345A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345A6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345A6#FFFFFF#000000##FFFFFF
##3345A61.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3345a6;
/* rgb */ color: rgb(51, 69, 166);
/* oklch */ color: oklch(43.6% 0.157 270.5);
Tailwind
colors: {
  custom: {
    50: '#7978c1',
    500: '#3345a6',
    950: '#000000',
  },
}
SCSS
$custom: #3345a6;
$custom-light: #7978c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3345a6",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 230.609,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43573,
    "c": 0.15686,
    "h": 270.5
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#3345A6
secondary
#C0B475
accent
#C64BDC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3345A6

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

Preview Lab → · Contrast checker → · Palette generator →

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