#3345AF#3345AF

#3345AF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.169 H 270.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3345AF
RGBrgb(51, 69, 175)
HSLhsl(231, 55%, 44%)
HSVhsv(231, 71%, 69%)
CMYKcmyk(70.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.10, 29.41, -58.65)
CIE-LCHlch(34.10, 65.61, 296.63°)
OKLaboklab(44.33% 0.0015 -0.1692)
OKLCHoklch(44.33% 0.169 270.5)
XYZxyz(11.2286, 8.0541, 41.5120)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345AF #AF9D33
analogous
#3383AF #3345AF #5F33AF
triadic
#3345AF #AF3345 #45AF33
tetradic
#3345AF #AF3383 #AF9D33 #33AF5F
square
#3345AF #AF3383 #AF9D33 #33AF5F
split-complementary
#3345AF #AF5F33 #83AF33
monochromatic
#172050 #253280 #3345AF #5264CD #828FDB

Accessibility & contrast

On white

8.04
#3345AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3345AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3345AF#FFFFFF#000000##FFFFFF
##3345AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3345af;
/* rgb */ color: rgb(51, 69, 175);
/* oklch */ color: oklch(44.3% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b78c8',
    500: '#3345af',
    950: '#000000',
  },
}
SCSS
$custom: #3345af;
$custom-light: #7b78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3345af",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 231.29,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.16921,
    "h": 270.5
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#3345AF
secondary
#C4B97A
accent
#C94ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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