#3A347B#3A347B

#3A347B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.3% C 0.117 H 283.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3A347B
RGBrgb(58, 52, 123)
HSLhsl(245, 41%, 34%)
HSVhsv(245, 58%, 48%)
CMYKcmyk(52.8%, 57.7%, 0%, 51.8%)
CIE-LABlab(26.11, 23.44, -39.76)
CIE-LCHlch(26.11, 46.16, 300.51°)
OKLaboklab(37.26% 0.0262 -0.1136)
OKLCHoklch(37.26% 0.117 283)
XYZxyz(6.5470, 4.7852, 19.3137)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A347B #757B34
analogous
#34527B #3A347B #5E347B
triadic
#3A347B #7B3A34 #347B3A
tetradic
#3A347B #7B3452 #757B34 #347B5E
square
#3A347B #7B3452 #757B34 #347B5E
split-complementary
#3A347B #7B5E34 #527B34
monochromatic
#111025 #262250 #3A347B #4E46A6 #716AC0

Accessibility & contrast

On white

10.73
#3A347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A347B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A347B#FFFFFF#000000##FFFFFF
##3A347B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#214452
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a347b;
/* rgb */ color: rgb(58, 52, 123);
/* oklch */ color: oklch(37.3% 0.117 283.0);
Tailwind
colors: {
  custom: {
    50: '#766ba2',
    500: '#3a347b',
    950: '#000000',
  },
}
SCSS
$custom: #3a347b;
$custom-light: #766ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a347b",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 245.07,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37258,
    "c": 0.11662,
    "h": 283
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#3A347B
secondary
#A2A863
accent
#D057C6
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3A347B

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

Preview Lab → · Contrast checker → · Palette generator →

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