#3345AB#3345AB

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

Color values

HEX#3345AB
RGBrgb(51, 69, 171)
HSLhsl(231, 54%, 44%)
HSVhsv(231, 70%, 67%)
CMYKcmyk(70.2%, 59.6%, 0%, 32.9%)
CIE-LABlab(33.77, 27.95, -56.79)
CIE-LCHlch(33.77, 63.30, 296.20°)
OKLaboklab(43.99% 0.0015 -0.1637)
OKLCHoklch(43.99% 0.164 270.5)
XYZxyz(10.8415, 7.8993, 39.4735)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345AB #AB9933
analogous
#3381AB #3345AB #5D33AB
triadic
#3345AB #AB3345 #45AB33
tetradic
#3345AB #AB3381 #AB9933 #33AB5D
square
#3345AB #AB3381 #AB9933 #33AB5D
split-complementary
#3345AB #AB5D33 #81AB33
monochromatic
#171F4D #25327C #3345AB #5063CB #7F8DD9

Accessibility & contrast

On white

8.14
#3345AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3345AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3345AB#FFFFFF#000000##FFFFFF
##3345AB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3345ab;
/* rgb */ color: rgb(51, 69, 171);
/* oklch */ color: oklch(44.0% 0.164 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a78c5',
    500: '#3345ab',
    950: '#000000',
  },
}
SCSS
$custom: #3345ab;
$custom-light: #7a78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3345ab",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 231,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.16376,
    "h": 270.5
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#3345AB
secondary
#C2B778
accent
#C74ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3345AB

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

Preview Lab → · Contrast checker → · Palette generator →

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