#3343B5#3343B5

#3343B5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.180 H 270.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3343B5
RGBrgb(51, 67, 181)
HSLhsl(233, 56%, 45%)
HSVhsv(233, 72%, 71%)
CMYKcmyk(71.8%, 63%, 0%, 29%)
CIE-LABlab(34.09, 32.88, -62.21)
CIE-LCHlch(34.09, 70.37, 297.85°)
OKLaboklab(44.49% 0.0028 -0.1797)
OKLCHoklch(44.49% 0.18 270.9)
XYZxyz(11.7100, 8.0531, 44.6444)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343B5 #B5A533
analogous
#3384B5 #3343B5 #6433B5
triadic
#3343B5 #B53343 #43B533
tetradic
#3343B5 #B53384 #B5A533 #33B564
square
#3343B5 #B53384 #B5A533 #33B564
split-complementary
#3343B5 #B56433 #84B533
monochromatic
#182056 #263185 #3343B5 #5665CF #8690DD

Accessibility & contrast

On white

8.04
#3343B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3343B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343B5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343B5#FFFFFF#000000##FFFFFF
##3343B51.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)
#0056B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3343b5;
/* rgb */ color: rgb(51, 67, 181);
/* oklch */ color: oklch(44.5% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d77cc',
    500: '#3343b5',
    950: '#000000',
  },
}
SCSS
$custom: #3343b5;
$custom-light: #7d77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3343b5",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 232.615,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44487,
    "c": 0.1797,
    "h": 270.9
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#3343B5
secondary
#C6BD7D
accent
#CD48DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3343B5

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

Preview Lab → · Contrast checker → · Palette generator →

#3343B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva