#3A6AAF#3A6AAF

#3A6AAF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.5% C 0.121 H 257.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3A6AAF
RGBrgb(58, 106, 175)
HSLhsl(215, 50%, 46%)
HSVhsv(215, 67%, 69%)
CMYKcmyk(66.9%, 39.4%, 0%, 31.4%)
CIE-LABlab(44.66, 6.51, -41.62)
CIE-LCHlch(44.66, 42.12, 278.89°)
OKLaboklab(52.47% -0.026 -0.1184)
OKLCHoklch(52.47% 0.121 257.6)
XYZxyz(14.6340, 14.3013, 42.5383)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6AAF #AF7F3A
analogous
#3AA4AF #3A6AAF #443AAF
triadic
#3A6AAF #AF3A6A #6AAF3A
tetradic
#3A6AAF #AF3AA4 #AF7F3A #3AAF44
square
#3A6AAF #AF3AA4 #AF7F3A #3AAF44
split-complementary
#3A6AAF #AF443A #A4AF3A
monochromatic
#1C3253 #2B4E81 #3A6AAF #5D89C9 #8BABD9

Accessibility & contrast

On white

5.44
#3A6AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3A6AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6AAF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6AAF#FFFFFF#000000##FFFFFF
##3A6AAF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#3A65AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a6aaf;
/* rgb */ color: rgb(58, 106, 175);
/* oklch */ color: oklch(52.5% 0.121 257.6);
Tailwind
colors: {
  custom: {
    50: '#7d94c7',
    500: '#3a6aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a6aaf;
$custom-light: #7d94c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6aaf",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 215.385,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.12127,
    "h": 257.6
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#3A6AAF
secondary
#C3A882
accent
#A04EDA
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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