#3A629E#3A629E

#3A629E is a mid, moderate blue. Relative luminance 0.121; OKLCH L 49.6% C 0.107 H 258.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3A629E
RGBrgb(58, 98, 158)
HSLhsl(216, 46%, 42%)
HSVhsv(216, 63%, 62%)
CMYKcmyk(63.3%, 38%, 0%, 38%)
CIE-LABlab(41.38, 5.46, -36.80)
CIE-LCHlch(41.38, 37.20, 278.44°)
OKLaboklab(49.61% -0.0216 -0.1044)
OKLCHoklch(49.61% 0.107 258.3)
XYZxyz(12.2820, 12.1024, 34.0299)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A629E #9E763A
analogous
#3A949E #3A629E #443A9E
triadic
#3A629E #9E3A62 #629E3A
tetradic
#3A629E #9E3A94 #9E763A #3A9E44
square
#3A629E #9E3A94 #9E763A #3A9E44
split-complementary
#3A629E #9E443A #949E3A
monochromatic
#192A44 #2A4671 #3A629E #5580C0 #81A1D1

Accessibility & contrast

On white

6.14
#3A629E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3A629E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A629E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A629E#FFFFFF#000000##FFFFFF
##3A629E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4867A0
Deuteranopia (green-blind)
#3A5D9D
Tritanopia (blue-blind)
#007078
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a629e;
/* rgb */ color: rgb(58, 98, 158);
/* oklch */ color: oklch(49.6% 0.107 258.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ebb',
    500: '#3a629e',
    950: '#000000',
  },
}
SCSS
$custom: #3a629e;
$custom-light: #7a8ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a629e",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 158
  },
  "hsl": {
    "h": 216,
    "s": 46.296,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.10666,
    "h": 258.3
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#3A629E
secondary
#BBA079
accent
#A152D6
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3A629E

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

Preview Lab → · Contrast checker → · Palette generator →

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