#3A6CB8#3A6CB8

#3A6CB8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.5% C 0.131 H 258.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3A6CB8
RGBrgb(58, 108, 184)
HSLhsl(216, 52%, 47%)
HSVhsv(216, 68%, 72%)
CMYKcmyk(68.5%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.75, 8.51, -45.14)
CIE-LCHlch(45.75, 45.93, 280.68°)
OKLaboklab(53.48% -0.026 -0.1287)
OKLCHoklch(53.48% 0.131 258.6)
XYZxyz(15.7561, 15.0837, 47.4192)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CB8 #B8863A
analogous
#3AABB8 #3A6CB8 #473AB8
triadic
#3A6CB8 #B83A6C #6CB83A
tetradic
#3A6CB8 #B83AAB #B8863A #3AB847
square
#3A6CB8 #B83AAB #B8863A #3AB847
split-complementary
#3A6CB8 #B8473A #ABB83A
monochromatic
#1D355B #2B5189 #3A6CB8 #628CCD #90AEDC

Accessibility & contrast

On white

5.23
#3A6CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3A6CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CB8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CB8#FFFFFF#000000##FFFFFF
##3A6CB81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3567B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a6cb8;
/* rgb */ color: rgb(58, 108, 184);
/* oklch */ color: oklch(53.5% 0.131 258.6);
Tailwind
colors: {
  custom: {
    50: '#7e95ce',
    500: '#3a6cb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cb8;
$custom-light: #7e95ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cb8",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 216.19,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.13133,
    "h": 258.6
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

primary
#3A6CB8
secondary
#C7AE87
accent
#A34CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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