#3A347E#3A347E

#3A347E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.121 H 282.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3A347E
RGBrgb(58, 52, 126)
HSLhsl(245, 42%, 35%)
HSVhsv(245, 59%, 49%)
CMYKcmyk(54%, 58.7%, 0%, 50.6%)
CIE-LABlab(26.34, 24.45, -41.29)
CIE-LCHlch(26.34, 47.99, 300.63°)
OKLaboklab(37.49% 0.0262 -0.1181)
OKLCHoklch(37.49% 0.121 282.5)
XYZxyz(6.7377, 4.8615, 20.3180)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A347E #787E34
analogous
#34537E #3A347E #5F347E
triadic
#3A347E #7E3A34 #347E3A
tetradic
#3A347E #7E3453 #787E34 #347E5F
square
#3A347E #7E3453 #787E34 #347E5F
split-complementary
#3A347E #7E5F34 #537E34
monochromatic
#121027 #262253 #3A347E #4E46A9 #726BC2

Accessibility & contrast

On white

10.65
#3A347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A347E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A347E#FFFFFF#000000##FFFFFF
##3A347E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#1E4553
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a347e;
/* rgb */ color: rgb(58, 52, 126);
/* oklch */ color: oklch(37.5% 0.121 282.5);
Tailwind
colors: {
  custom: {
    50: '#766ba4',
    500: '#3a347e',
    950: '#000000',
  },
}
SCSS
$custom: #3a347e;
$custom-light: #766ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a347e",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 244.865,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37494,
    "c": 0.12103,
    "h": 282.5
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#3A347E
secondary
#A4AA64
accent
#D156C7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3A347E

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

Preview Lab → · Contrast checker → · Palette generator →

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