#3341AF#3341AF

#3341AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.174 H 271.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#3341AF
RGBrgb(51, 65, 175)
HSLhsl(233, 55%, 44%)
HSVhsv(233, 71%, 69%)
CMYKcmyk(70.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(33.09, 32.00, -60.29)
CIE-LCHlch(33.09, 68.26, 297.96°)
OKLaboklab(43.59% 0.0045 -0.1741)
OKLCHoklch(43.59% 0.174 271.5)
XYZxyz(10.9908, 7.5785, 41.4327)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341AF #AFA133
analogous
#337FAF #3341AF #6333AF
triadic
#3341AF #AF3341 #41AF33
tetradic
#3341AF #AF337F #AFA133 #33AF63
square
#3341AF #AF337F #AFA133 #33AF63
split-complementary
#3341AF #AF6333 #7FAF33
monochromatic
#171E50 #252F80 #3341AF #5260CD #828CDB

Accessibility & contrast

On white

8.35
#3341AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3341AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3341AF#FFFFFF#000000##FFFFFF
##3341AF1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3341af;
/* rgb */ color: rgb(51, 65, 175);
/* oklch */ color: oklch(43.6% 0.174 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c75c8',
    500: '#3341af',
    950: '#000000',
  },
}
SCSS
$custom: #3341af;
$custom-light: #7c75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3341af",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 233.226,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4359,
    "c": 0.17412,
    "h": 271.5
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3341AF

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

Preview Lab → · Contrast checker → · Palette generator →

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