#3345A3#3345A3

#3345A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.153 H 270.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3345A3
RGBrgb(51, 69, 163)
HSLhsl(230, 52%, 42%)
HSVhsv(230, 69%, 64%)
CMYKcmyk(68.7%, 57.7%, 0%, 36.1%)
CIE-LABlab(33.14, 25.02, -53.03)
CIE-LCHlch(33.14, 58.63, 295.26°)
OKLaboklab(43.33% 0.0014 -0.1527)
OKLCHoklch(43.33% 0.153 270.5)
XYZxyz(10.1020, 7.6034, 35.5785)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345A3 #A39133
analogous
#337DA3 #3345A3 #5933A3
triadic
#3345A3 #A33345 #45A333
tetradic
#3345A3 #A3337D #A39133 #33A359
square
#3345A3 #A3337D #A39133 #33A359
split-complementary
#3345A3 #A35933 #7DA333
monochromatic
#161E46 #243174 #3345A3 #4C60C7 #7B89D6

Accessibility & contrast

On white

8.33
#3345A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3345A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3345A3#FFFFFF#000000##FFFFFF
##3345A31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3345a3;
/* rgb */ color: rgb(51, 69, 163);
/* oklch */ color: oklch(43.3% 0.153 270.5);
Tailwind
colors: {
  custom: {
    50: '#7978bf',
    500: '#3345a3',
    950: '#000000',
  },
}
SCSS
$custom: #3345a3;
$custom-light: #7978bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3345a3",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 230.357,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.15268,
    "h": 270.5
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#3345A3
secondary
#BEB273
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3345A3

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

Preview Lab → · Contrast checker → · Palette generator →

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