#3345A9#3345A9

#3345A9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.161 H 270.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3345A9
RGBrgb(51, 69, 169)
HSLhsl(231, 54%, 43%)
HSVhsv(231, 70%, 66%)
CMYKcmyk(69.8%, 59.2%, 0%, 33.7%)
CIE-LABlab(33.61, 27.22, -55.86)
CIE-LCHlch(33.61, 62.14, 295.98°)
OKLaboklab(43.82% 0.0015 -0.161)
OKLCHoklch(43.82% 0.161 270.5)
XYZxyz(10.6524, 7.8236, 38.4771)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345A9 #A99733
analogous
#3380A9 #3345A9 #5C33A9
triadic
#3345A9 #A93345 #45A933
tetradic
#3345A9 #A93380 #A99733 #33A95C
square
#3345A9 #A93380 #A99733 #33A95C
split-complementary
#3345A9 #A95C33 #80A933
monochromatic
#171F4B #25327A #3345A9 #4F62CA #7E8CD8

Accessibility & contrast

On white

8.19
#3345A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3345A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345A9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345A9#FFFFFF#000000##FFFFFF
##3345A91.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3345a9;
/* rgb */ color: rgb(51, 69, 169);
/* oklch */ color: oklch(43.8% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a78c3',
    500: '#3345a9',
    950: '#000000',
  },
}
SCSS
$custom: #3345a9;
$custom-light: #7a78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3345a9",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 230.847,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.16101,
    "h": 270.5
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#3345A9
secondary
#C1B677
accent
#C74BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3345A9

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

Preview Lab → · Contrast checker → · Palette generator →

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