#3343AB#3343AB

#3343AB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.166 H 271.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3343AB
RGBrgb(51, 67, 171)
HSLhsl(232, 54%, 44%)
HSVhsv(232, 70%, 67%)
CMYKcmyk(70.2%, 60.8%, 0%, 32.9%)
CIE-LABlab(33.26, 29.26, -57.63)
CIE-LCHlch(33.26, 64.63, 296.92°)
OKLaboklab(43.61% 0.0031 -0.1662)
OKLCHoklch(43.61% 0.166 271.1)
XYZxyz(10.7206, 7.6573, 39.4332)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343AB #AB9B33
analogous
#337FAB #3343AB #5F33AB
triadic
#3343AB #AB3343 #43AB33
tetradic
#3343AB #AB337F #AB9B33 #33AB5F
square
#3343AB #AB337F #AB9B33 #33AB5F
split-complementary
#3343AB #AB5F33 #7FAB33
monochromatic
#171E4D #25317C #3343AB #5061CB #7F8BD9

Accessibility & contrast

On white

8.30
#3343AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3343AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3343AB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3343AB#FFFFFF#000000##FFFFFF
##3343AB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3343ab;
/* rgb */ color: rgb(51, 67, 171);
/* oklch */ color: oklch(43.6% 0.166 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a77c5',
    500: '#3343ab',
    950: '#000000',
  },
}
SCSS
$custom: #3343ab;
$custom-light: #7a77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3343ab",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 232,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.16626,
    "h": 271.1
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#3343AB
secondary
#C2B878
accent
#CA4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3343AB

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

Preview Lab → · Contrast checker → · Palette generator →

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