#3A3FAA#3A3FAA

#3A3FAA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.168 H 274.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3A3FAA
RGBrgb(58, 63, 170)
HSLhsl(237, 49%, 45%)
HSVhsv(237, 66%, 67%)
CMYKcmyk(65.9%, 62.9%, 0%, 33.3%)
CIE-LABlab(32.60, 32.50, -58.08)
CIE-LCHlch(32.60, 66.56, 299.23°)
OKLaboklab(43.22% 0.0141 -0.1674)
OKLCHoklch(43.22% 0.168 274.8)
XYZxyz(10.7757, 7.3559, 38.8744)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FAA #AAA53A
analogous
#3A77AA #3A3FAA #6D3AAA
triadic
#3A3FAA #AA3A3F #3FAA3A
tetradic
#3A3FAA #AA3A77 #AAA53A #3AAA6D
square
#3A3FAA #AA3A77 #AAA53A #3AAA6D
split-complementary
#3A3FAA #AA6D3A #77AA3A
monochromatic
#1B1D4F #2A2E7C #3A3FAA #5A5FC7 #888CD6

Accessibility & contrast

On white

8.50
#3A3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FAA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FAA#FFFFFF#000000##FFFFFF
##3A3FAA1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3faa;
/* rgb */ color: rgb(58, 63, 170);
/* oklch */ color: oklch(43.2% 0.168 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e74c4',
    500: '#3a3faa',
    950: '#000000',
  },
}
SCSS
$custom: #3a3faa;
$custom-light: #7e74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3faa",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 237.321,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.16801,
    "h": 274.8
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#3A3FAA
secondary
#C1BE7F
accent
#D34FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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