#3341AD#3341AD

#3341AD is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.171 H 271.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3341AD
RGBrgb(51, 65, 173)
HSLhsl(233, 54%, 44%)
HSVhsv(233, 71%, 68%)
CMYKcmyk(70.5%, 62.4%, 0%, 32.2%)
CIE-LABlab(32.92, 31.28, -59.38)
CIE-LCHlch(32.92, 67.11, 297.78°)
OKLaboklab(43.41% 0.0046 -0.1714)
OKLCHoklch(43.41% 0.171 271.5)
XYZxyz(10.7958, 7.5005, 40.4059)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341AD #AD9F33
analogous
#337EAD #3341AD #6233AD
triadic
#3341AD #AD3341 #41AD33
tetradic
#3341AD #AD337E #AD9F33 #33AD62
square
#3341AD #AD337E #AD9F33 #33AD62
split-complementary
#3341AD #AD6233 #7EAD33
monochromatic
#171D4E #252F7E #3341AD #515FCC #818BDA

Accessibility & contrast

On white

8.40
#3341AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3341AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341AD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341AD#FFFFFF#000000##FFFFFF
##3341AD1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3341ad;
/* rgb */ color: rgb(51, 65, 173);
/* oklch */ color: oklch(43.4% 0.171 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b75c6',
    500: '#3341ad',
    950: '#000000',
  },
}
SCSS
$custom: #3341ad;
$custom-light: #7b75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3341ad",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 233.115,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43413,
    "c": 0.17144,
    "h": 271.5
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#3341AD
secondary
#C3BA79
accent
#CD4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3341AD

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

Preview Lab → · Contrast checker → · Palette generator →

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