#3345A2#3345A2

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

Color values

HEX#3345A2
RGBrgb(51, 69, 162)
HSLhsl(230, 52%, 42%)
HSVhsv(230, 69%, 64%)
CMYKcmyk(68.5%, 57.4%, 0%, 36.5%)
CIE-LABlab(33.07, 24.65, -52.55)
CIE-LCHlch(33.07, 58.04, 295.13°)
OKLaboklab(43.24% 0.0013 -0.1513)
OKLCHoklch(43.24% 0.151 270.5)
XYZxyz(10.0127, 7.5677, 35.1085)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345A2 #A29033
analogous
#337DA2 #3345A2 #5933A2
triadic
#3345A2 #A23345 #45A233
tetradic
#3345A2 #A2337D #A29033 #33A259
square
#3345A2 #A2337D #A29033 #33A259
split-complementary
#3345A2 #A25933 #7DA233
monochromatic
#161D45 #243173 #3345A2 #4C60C7 #7A89D5

Accessibility & contrast

On white

8.35
#3345A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3345A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3345A2#FFFFFF#000000##FFFFFF
##3345A21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3345a2;
/* rgb */ color: rgb(51, 69, 162);
/* oklch */ color: oklch(43.2% 0.151 270.5);
Tailwind
colors: {
  custom: {
    50: '#7878be',
    500: '#3345a2',
    950: '#000000',
  },
}
SCSS
$custom: #3345a2;
$custom-light: #7878be;
$custom-dark: #000000;
JSON
{
  "hex": "#3345a2",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 230.27,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.15128,
    "h": 270.5
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3345A2

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

Preview Lab → · Contrast checker → · Palette generator →

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