#3A6CB2#3A6CB2

#3A6CB2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.1% C 0.123 H 257.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3A6CB2
RGBrgb(58, 108, 178)
HSLhsl(215, 51%, 46%)
HSVhsv(215, 67%, 70%)
CMYKcmyk(67.4%, 39.3%, 0%, 30.2%)
CIE-LABlab(45.41, 6.34, -42.18)
CIE-LCHlch(45.41, 42.65, 278.55°)
OKLaboklab(53.1% -0.0273 -0.1201)
OKLCHoklch(53.1% 0.123 257.2)
XYZxyz(15.1405, 14.8375, 44.1769)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CB2 #B2803A
analogous
#3AA8B2 #3A6CB2 #443AB2
triadic
#3A6CB2 #B23A6C #6CB23A
tetradic
#3A6CB2 #B23AA8 #B2803A #3AB244
square
#3A6CB2 #B23AA8 #B2803A #3AB244
split-complementary
#3A6CB2 #B2443A #A8B23A
monochromatic
#1C3456 #2B5084 #3A6CB2 #5F8CCB #8DADDA

Accessibility & contrast

On white

5.29
#3A6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3A6CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CB2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CB2#FFFFFF#000000##FFFFFF
##3A6CB21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B5
Deuteranopia (green-blind)
#3B66B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6cb2;
/* rgb */ color: rgb(58, 108, 178);
/* oklch */ color: oklch(53.1% 0.123 257.2);
Tailwind
colors: {
  custom: {
    50: '#7d95c9',
    500: '#3a6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cb2;
$custom-light: #7d95c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cb2",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 215,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.12314,
    "h": 257.2
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#3A6CB2
secondary
#C4A983
accent
#A04DDA
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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