#3A6CB3#3A6CB3

#3A6CB3 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.2% C 0.124 H 257.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3A6CB3
RGBrgb(58, 108, 179)
HSLhsl(215, 51%, 46%)
HSVhsv(215, 68%, 70%)
CMYKcmyk(67.6%, 39.7%, 0%, 29.8%)
CIE-LABlab(45.47, 6.70, -42.68)
CIE-LCHlch(45.47, 43.20, 278.92°)
OKLaboklab(53.16% -0.0271 -0.1215)
OKLCHoklch(53.16% 0.125 257.4)
XYZxyz(15.2412, 14.8778, 44.7076)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CB3 #B3813A
analogous
#3AA9B3 #3A6CB3 #453AB3
triadic
#3A6CB3 #B33A6C #6CB33A
tetradic
#3A6CB3 #B33AA9 #B3813A #3AB345
square
#3A6CB3 #B33AA9 #B3813A #3AB345
split-complementary
#3A6CB3 #B3453A #A9B33A
monochromatic
#1C3457 #2B5085 #3A6CB3 #5F8CCB #8DADDA

Accessibility & contrast

On white

5.28
#3A6CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3A6CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CB3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CB3#FFFFFF#000000##FFFFFF
##3A6CB31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B6
Deuteranopia (green-blind)
#3A66B2
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a6cb3;
/* rgb */ color: rgb(58, 108, 179);
/* oklch */ color: oklch(53.2% 0.124 257.4);
Tailwind
colors: {
  custom: {
    50: '#7d95ca',
    500: '#3a6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cb3;
$custom-light: #7d95ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cb3",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 215.207,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.1245,
    "h": 257.4
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#3A6CB3
secondary
#C5AA84
accent
#A04DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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