#3343AA#3343AA

#3343AA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.165 H 271.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3343AA
RGBrgb(51, 67, 170)
HSLhsl(232, 54%, 43%)
HSVhsv(232, 70%, 67%)
CMYKcmyk(70%, 60.6%, 0%, 33.3%)
CIE-LABlab(33.18, 28.89, -57.17)
CIE-LCHlch(33.18, 64.05, 296.81°)
OKLaboklab(43.53% 0.0031 -0.1649)
OKLCHoklch(43.53% 0.165 271.1)
XYZxyz(10.6256, 7.6194, 38.9331)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3343AA #AA9A33
analogous
#337EAA #3343AA #5E33AA
triadic
#3343AA #AA3343 #43AA33
tetradic
#3343AA #AA337E #AA9A33 #33AA5E
square
#3343AA #AA337E #AA9A33 #33AA5E
split-complementary
#3343AA #AA5E33 #7EAA33
monochromatic
#171E4C #25307B #3343AA #5060CA #7F8BD9

Accessibility & contrast

On white

8.32
#3343AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3343AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3343AA#FFFFFF#000000##FFFFFF
##3343AA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3343aa;
/* rgb */ color: rgb(51, 67, 170);
/* oklch */ color: oklch(43.5% 0.165 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a77c4',
    500: '#3343aa',
    950: '#000000',
  },
}
SCSS
$custom: #3343aa;
$custom-light: #7a77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3343aa",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 231.933,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.1649,
    "h": 271.1
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#3343AA
secondary
#C2B877
accent
#CA4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3343AA

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

Preview Lab → · Contrast checker → · Palette generator →

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