#3341AE#3341AE

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

Color values

HEX#3341AE
RGBrgb(51, 65, 174)
HSLhsl(233, 55%, 44%)
HSVhsv(233, 71%, 68%)
CMYKcmyk(70.7%, 62.6%, 0%, 31.8%)
CIE-LABlab(33.00, 31.64, -59.84)
CIE-LCHlch(33.00, 67.69, 297.87°)
OKLaboklab(43.5% 0.0045 -0.1727)
OKLCHoklch(43.5% 0.173 271.5)
XYZxyz(10.8929, 7.5393, 40.9174)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341AE #AEA033
analogous
#337FAE #3341AE #6333AE
triadic
#3341AE #AE3341 #41AE33
tetradic
#3341AE #AE337F #AEA033 #33AE63
square
#3341AE #AE337F #AEA033 #33AE63
split-complementary
#3341AE #AE6333 #7FAE33
monochromatic
#171E4F #252F7F #3341AE #5260CC #818BDA

Accessibility & contrast

On white

8.37
#3341AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3341AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3341AE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3341AE#FFFFFF#000000##FFFFFF
##3341AE1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3341ae;
/* rgb */ color: rgb(51, 65, 174);
/* oklch */ color: oklch(43.5% 0.173 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b75c7',
    500: '#3341ae',
    950: '#000000',
  },
}
SCSS
$custom: #3341ae;
$custom-light: #7b75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3341ae",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 233.171,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.17278,
    "h": 271.5
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3341AE

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

Preview Lab → · Contrast checker → · Palette generator →

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