#3345AE#3345AE

#3345AE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.168 H 270.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3345AE
RGBrgb(51, 69, 174)
HSLhsl(231, 55%, 44%)
HSVhsv(231, 71%, 68%)
CMYKcmyk(70.7%, 60.3%, 0%, 31.8%)
CIE-LABlab(34.01, 29.05, -58.19)
CIE-LCHlch(34.01, 65.04, 296.53°)
OKLaboklab(44.25% 0.0015 -0.1678)
OKLCHoklch(44.25% 0.168 270.5)
XYZxyz(11.1307, 8.0149, 40.9966)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345AE #AE9C33
analogous
#3383AE #3345AE #5F33AE
triadic
#3345AE #AE3345 #45AE33
tetradic
#3345AE #AE3383 #AE9C33 #33AE5F
square
#3345AE #AE3383 #AE9C33 #33AE5F
split-complementary
#3345AE #AE5F33 #83AE33
monochromatic
#171F4F #25327F #3345AE #5264CC #818EDA

Accessibility & contrast

On white

8.07
#3345AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3345AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345AE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345AE#FFFFFF#000000##FFFFFF
##3345AE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3345ae;
/* rgb */ color: rgb(51, 69, 174);
/* oklch */ color: oklch(44.2% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b78c7',
    500: '#3345ae',
    950: '#000000',
  },
}
SCSS
$custom: #3345ae;
$custom-light: #7b78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3345ae",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 231.22,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.16786,
    "h": 270.5
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3345AE

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

Preview Lab → · Contrast checker → · Palette generator →

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