#3345B1#3345B1

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

Color values

HEX#3345B1
RGBrgb(51, 69, 177)
HSLhsl(231, 55%, 45%)
HSVhsv(231, 71%, 69%)
CMYKcmyk(71.2%, 61%, 0%, 30.6%)
CIE-LABlab(34.26, 30.14, -59.57)
CIE-LCHlch(34.26, 66.76, 296.84°)
OKLaboklab(44.51% 0.0014 -0.1719)
OKLCHoklch(44.51% 0.172 270.5)
XYZxyz(11.4265, 8.1332, 42.5541)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345B1 #B19F33
analogous
#3384B1 #3345B1 #6033B1
triadic
#3345B1 #B13345 #45B133
tetradic
#3345B1 #B13384 #B19F33 #33B160
square
#3345B1 #B13384 #B19F33 #33B160
split-complementary
#3345B1 #B16033 #84B133
monochromatic
#182052 #253281 #3345B1 #5465CE #8390DB

Accessibility & contrast

On white

7.99
#3345B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3345B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3345B1#FFFFFF#000000##FFFFFF
##3345B11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3345b1;
/* rgb */ color: rgb(51, 69, 177);
/* oklch */ color: oklch(44.5% 0.172 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c78c9',
    500: '#3345b1',
    950: '#000000',
  },
}
SCSS
$custom: #3345b1;
$custom-light: #7c78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3345b1",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 231.429,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.17192,
    "h": 270.5
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#3345B1
secondary
#C5BA7B
accent
#C949DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3345B1

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

Preview Lab → · Contrast checker → · Palette generator →

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