#3A35A5#3A35A5

#3A35A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.173 H 277.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3A35A5
RGBrgb(58, 53, 165)
HSLhsl(243, 51%, 43%)
HSVhsv(243, 68%, 65%)
CMYKcmyk(64.8%, 67.9%, 0%, 35.3%)
CIE-LABlab(29.82, 37.03, -59.64)
CIE-LCHlch(29.82, 70.20, 301.84°)
OKLaboklab(41.05% 0.0226 -0.172)
OKLCHoklch(41.05% 0.174 277.5)
XYZxyz(9.8074, 6.1616, 36.2625)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A35A5 #A0A535
analogous
#3568A5 #3A35A5 #7235A5
triadic
#3A35A5 #A53A35 #35A53A
tetradic
#3A35A5 #A53568 #A0A535 #35A572
square
#3A35A5 #A53568 #A0A535 #35A572
split-complementary
#3A35A5 #A57235 #68A535
monochromatic
#191748 #2A2677 #3A35A5 #5650C7 #837FD6

Accessibility & contrast

On white

9.41
#3A35A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A35A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A35A5
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A35A5#FFFFFF#000000##FFFFFF
##3A35A51.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a35a5;
/* rgb */ color: rgb(58, 53, 165);
/* oklch */ color: oklch(41.0% 0.173 277.5);
Tailwind
colors: {
  custom: {
    50: '#7d6dc1',
    500: '#3a35a5',
    950: '#000000',
  },
}
SCSS
$custom: #3a35a5;
$custom-light: #7d6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a35a5",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 242.679,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.1735,
    "h": 277.5
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#3A35A5
secondary
#BCBF77
accent
#DB4DD5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3A35A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3A35A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva