#3A6BB9#3A6BB9

#3A6BB9 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.134 H 259.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB9
RGBrgb(58, 107, 185)
HSLhsl(217, 52%, 48%)
HSVhsv(217, 69%, 73%)
CMYKcmyk(68.6%, 42.2%, 0%, 27.5%)
CIE-LABlab(45.52, 9.50, -46.08)
CIE-LCHlch(45.52, 47.05, 281.65°)
OKLaboklab(53.32% -0.0248 -0.1315)
OKLCHoklch(53.32% 0.134 259.3)
XYZxyz(15.7564, 14.9161, 47.9382)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB9 #B9883A
analogous
#3AABB9 #3A6BB9 #483AB9
triadic
#3A6BB9 #B93A6B #6BB93A
tetradic
#3A6BB9 #B93AAB #B9883A #3AB948
square
#3A6BB9 #B93AAB #B9883A #3AB948
split-complementary
#3A6BB9 #B9483A #ABB93A
monochromatic
#1D355C #2B508A #3A6BB9 #628CCE #91AEDC

Accessibility & contrast

On white

5.27
#3A6BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6BB9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB9#FFFFFF#000000##FFFFFF
##3A6BB91.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BC
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a6bb9;
/* rgb */ color: rgb(58, 107, 185);
/* oklch */ color: oklch(53.3% 0.134 259.3);
Tailwind
colors: {
  custom: {
    50: '#7e94ce',
    500: '#3a6bb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb9;
$custom-light: #7e94ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb9",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 216.85,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.13385,
    "h": 259.3
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#3A6BB9
secondary
#C7AF87
accent
#A44CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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