#3345AA#3345AA

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

Color values

HEX#3345AA
RGBrgb(51, 69, 170)
HSLhsl(231, 54%, 43%)
HSVhsv(231, 70%, 67%)
CMYKcmyk(70%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.69, 27.59, -56.33)
CIE-LCHlch(33.69, 62.72, 296.09°)
OKLaboklab(43.91% 0.0015 -0.1624)
OKLCHoklch(43.91% 0.162 270.5)
XYZxyz(10.7466, 7.8613, 38.9734)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345AA #AA9833
analogous
#3380AA #3345AA #5C33AA
triadic
#3345AA #AA3345 #45AA33
tetradic
#3345AA #AA3380 #AA9833 #33AA5C
square
#3345AA #AA3380 #AA9833 #33AA5C
split-complementary
#3345AA #AA5C33 #80AA33
monochromatic
#171F4C #25327B #3345AA #5062CA #7F8CD9

Accessibility & contrast

On white

8.16
#3345AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3345AA#FFFFFF#000000##FFFFFF
##3345AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3345aa;
/* rgb */ color: rgb(51, 69, 170);
/* oklch */ color: oklch(43.9% 0.162 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a78c4',
    500: '#3345aa',
    950: '#000000',
  },
}
SCSS
$custom: #3345aa;
$custom-light: #7a78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3345aa",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 230.924,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43908,
    "c": 0.16239,
    "h": 270.5
  },
  "luminance": 0.07862
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3345AA

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

Preview Lab → · Contrast checker → · Palette generator →

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