#3A347D#3A347D

#3A347D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.4% C 0.120 H 282.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3A347D
RGBrgb(58, 52, 125)
HSLhsl(245, 41%, 35%)
HSVhsv(245, 58%, 49%)
CMYKcmyk(53.6%, 58.4%, 0%, 51%)
CIE-LABlab(26.26, 24.11, -40.79)
CIE-LCHlch(26.26, 47.38, 300.59°)
OKLaboklab(37.42% 0.0262 -0.1166)
OKLCHoklch(37.42% 0.12 282.7)
XYZxyz(6.6735, 4.8358, 19.9798)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A347D #777D34
analogous
#34527D #3A347D #5F347D
triadic
#3A347D #7D3A34 #347D3A
tetradic
#3A347D #7D3452 #777D34 #347D5F
square
#3A347D #7D3452 #777D34 #347D5F
split-complementary
#3A347D #7D5F34 #527D34
monochromatic
#121027 #262252 #3A347D #4E46A8 #716AC1

Accessibility & contrast

On white

10.68
#3A347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A347D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A347D#FFFFFF#000000##FFFFFF
##3A347D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02417F
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#1F4553
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a347d;
/* rgb */ color: rgb(58, 52, 125);
/* oklch */ color: oklch(37.4% 0.120 282.7);
Tailwind
colors: {
  custom: {
    50: '#766ba3',
    500: '#3a347d',
    950: '#000000',
  },
}
SCSS
$custom: #3a347d;
$custom-light: #766ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a347d",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 244.932,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37415,
    "c": 0.11956,
    "h": 282.7
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#3A347D
secondary
#A3A964
accent
#D157C7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3A347D

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

Preview Lab → · Contrast checker → · Palette generator →

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