#3A6CB5#3A6CB5

#3A6CB5 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.3% C 0.127 H 257.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3A6CB5
RGBrgb(58, 108, 181)
HSLhsl(216, 51%, 47%)
HSVhsv(216, 68%, 71%)
CMYKcmyk(68%, 40.3%, 0%, 29%)
CIE-LABlab(45.58, 7.42, -43.66)
CIE-LCHlch(45.58, 44.29, 279.65°)
OKLaboklab(53.29% -0.0266 -0.1244)
OKLCHoklch(53.29% 0.127 257.9)
XYZxyz(15.4450, 14.9593, 45.7806)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CB5 #B5833A
analogous
#3AA9B5 #3A6CB5 #463AB5
triadic
#3A6CB5 #B53A6C #6CB53A
tetradic
#3A6CB5 #B53AA9 #B5833A #3AB546
square
#3A6CB5 #B53AA9 #B5833A #3AB546
split-complementary
#3A6CB5 #B5463A #A9B53A
monochromatic
#1C3558 #2B5087 #3A6CB5 #608CCC #8EAEDB

Accessibility & contrast

On white

5.26
#3A6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3A6CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CB5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CB5#FFFFFF#000000##FFFFFF
##3A6CB51.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a6cb5;
/* rgb */ color: rgb(58, 108, 181);
/* oklch */ color: oklch(53.3% 0.127 257.9);
Tailwind
colors: {
  custom: {
    50: '#7e95cb',
    500: '#3a6cb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cb5;
$custom-light: #7e95cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cb5",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 215.61,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.12724,
    "h": 257.9
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#3A6CB5
secondary
#C6AB85
accent
#A14DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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