#3A6EB8#3A6EB8

#3A6EB8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 53.9% C 0.129 H 257.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A6EB8
RGBrgb(58, 110, 184)
HSLhsl(215, 52%, 47%)
HSVhsv(215, 68%, 72%)
CMYKcmyk(68.5%, 40.2%, 0%, 27.8%)
CIE-LABlab(46.33, 7.26, -44.22)
CIE-LCHlch(46.33, 44.81, 279.32°)
OKLaboklab(53.92% -0.0279 -0.126)
OKLCHoklch(53.92% 0.129 257.5)
XYZxyz(15.9695, 15.5105, 47.4903)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EB8 #B8843A
analogous
#3AADB8 #3A6EB8 #453AB8
triadic
#3A6EB8 #B83A6E #6EB83A
tetradic
#3A6EB8 #B83AAD #B8843A #3AB845
square
#3A6EB8 #B83AAD #B8843A #3AB845
split-complementary
#3A6EB8 #B8453A #ADB83A
monochromatic
#1D365B #2B5289 #3A6EB8 #628ECD #90B0DC

Accessibility & contrast

On white

5.12
#3A6EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A6EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EB8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EB8#FFFFFF#000000##FFFFFF
##3A6EB81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BB
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6eb8;
/* rgb */ color: rgb(58, 110, 184);
/* oklch */ color: oklch(53.9% 0.129 257.5);
Tailwind
colors: {
  custom: {
    50: '#7e97ce',
    500: '#3a6eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6eb8;
$custom-light: #7e97ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6eb8",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 215.238,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.12907,
    "h": 257.5
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#3A6EB8
secondary
#C7AD87
accent
#A04CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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