#3341A3#3341A3

#3341A3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.158 H 271.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3341A3
RGBrgb(51, 65, 163)
HSLhsl(233, 52%, 42%)
HSVhsv(233, 69%, 64%)
CMYKcmyk(68.7%, 60.1%, 0%, 36.1%)
CIE-LABlab(32.10, 27.66, -54.73)
CIE-LCHlch(32.10, 61.32, 296.81°)
OKLaboklab(42.55% 0.0047 -0.1577)
OKLCHoklch(42.55% 0.158 271.7)
XYZxyz(9.8642, 7.1278, 35.4992)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3341A3 #A39533
analogous
#3379A3 #3341A3 #5D33A3
triadic
#3341A3 #A33341 #41A333
tetradic
#3341A3 #A33379 #A39533 #33A35D
square
#3341A3 #A33379 #A39533 #33A35D
split-complementary
#3341A3 #A35D33 #79A333
monochromatic
#161C46 #242E74 #3341A3 #4C5CC7 #7B86D6

Accessibility & contrast

On white

8.66
#3341A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3341A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3341A3#FFFFFF#000000##FFFFFF
##3341A31.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3341a3;
/* rgb */ color: rgb(51, 65, 163);
/* oklch */ color: oklch(42.5% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#7975bf',
    500: '#3341a3',
    950: '#000000',
  },
}
SCSS
$custom: #3341a3;
$custom-light: #7975bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3341a3",
  "rgb": {
    "r": 51,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 232.5,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.15779,
    "h": 271.7
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#3341A3
secondary
#BEB573
accent
#CA4CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3341A3

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

Preview Lab → · Contrast checker → · Palette generator →

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