#3341AB#3341AB

#3341AB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.169 H 271.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3341AB
RGBrgb(51, 65, 171)
HSLhsl(233, 54%, 44%)
HSVhsv(233, 70%, 67%)
CMYKcmyk(70.2%, 62%, 0%, 32.9%)
CIE-LABlab(32.75, 30.56, -58.46)
CIE-LCHlch(32.75, 65.96, 297.60°)
OKLaboklab(43.24% 0.0046 -0.1687)
OKLCHoklch(43.24% 0.169 271.6)
XYZxyz(10.6037, 7.4236, 39.3943)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341AB #AB9D33
analogous
#337DAB #3341AB #6133AB
triadic
#3341AB #AB3341 #41AB33
tetradic
#3341AB #AB337D #AB9D33 #33AB61
square
#3341AB #AB337D #AB9D33 #33AB61
split-complementary
#3341AB #AB6133 #7DAB33
monochromatic
#171D4D #252F7C #3341AB #505FCB #7F8AD9

Accessibility & contrast

On white

8.45
#3341AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3341AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341AB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341AB#FFFFFF#000000##FFFFFF
##3341AB1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3341ab;
/* rgb */ color: rgb(51, 65, 171);
/* oklch */ color: oklch(43.2% 0.169 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b75c5',
    500: '#3341ab',
    950: '#000000',
  },
}
SCSS
$custom: #3341ab;
$custom-light: #7b75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3341ab",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 233,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.16874,
    "h": 271.6
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#3341AB
secondary
#C2B978
accent
#CC4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3341AB

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

Preview Lab → · Contrast checker → · Palette generator →

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