#3341AA#3341AA

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

Color values

HEX#3341AA
RGBrgb(51, 65, 170)
HSLhsl(233, 54%, 43%)
HSVhsv(233, 70%, 67%)
CMYKcmyk(70%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.67, 30.20, -57.99)
CIE-LCHlch(32.67, 65.39, 297.51°)
OKLaboklab(43.15% 0.0046 -0.1673)
OKLCHoklch(43.15% 0.167 271.6)
XYZxyz(10.5088, 7.3857, 38.8942)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341AA #AA9C33
analogous
#337CAA #3341AA #6033AA
triadic
#3341AA #AA3341 #41AA33
tetradic
#3341AA #AA337C #AA9C33 #33AA60
square
#3341AA #AA337C #AA9C33 #33AA60
split-complementary
#3341AA #AA6033 #7CAA33
monochromatic
#171D4C #252F7B #3341AA #505ECA #7F89D9

Accessibility & contrast

On white

8.48
#3341AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3341AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3341AA#FFFFFF#000000##FFFFFF
##3341AA1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3341aa;
/* rgb */ color: rgb(51, 65, 170);
/* oklch */ color: oklch(43.1% 0.167 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a75c4',
    500: '#3341aa',
    950: '#000000',
  },
}
SCSS
$custom: #3341aa;
$custom-light: #7a75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3341aa",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 232.941,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.16738,
    "h": 271.6
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#3341AA
secondary
#C2B977
accent
#CC4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3341AA

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

Preview Lab → · Contrast checker → · Palette generator →

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