#3A6FBC#3A6FBC

#3A6FBC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.4% C 0.133 H 257.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A6FBC
RGBrgb(58, 111, 188)
HSLhsl(216, 53%, 48%)
HSVhsv(216, 69%, 74%)
CMYKcmyk(69.1%, 41%, 0%, 26.3%)
CIE-LABlab(46.84, 8.08, -45.71)
CIE-LCHlch(46.84, 46.42, 280.02°)
OKLaboklab(54.4% -0.028 -0.1304)
OKLCHoklch(54.4% 0.133 257.9)
XYZxyz(16.5032, 15.8976, 49.7660)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FBC #BC873A
analogous
#3AB0BC #3A6FBC #463ABC
triadic
#3A6FBC #BC3A6F #6FBC3A
tetradic
#3A6FBC #BC3AB0 #BC873A #3ABC46
square
#3A6FBC #BC3AB0 #BC873A #3ABC46
split-complementary
#3A6FBC #BC463A #B0BC3A
monochromatic
#1D385E #2C538D #3A6FBC #6490CF #93B1DE

Accessibility & contrast

On white

5.02
#3A6FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3A6FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FBC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FBC#FFFFFF#000000##FFFFFF
##3A6FBC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76BF
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6fbc;
/* rgb */ color: rgb(58, 111, 188);
/* oklch */ color: oklch(54.4% 0.133 257.9);
Tailwind
colors: {
  custom: {
    50: '#7f97d0',
    500: '#3a6fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fbc;
$custom-light: #7f97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fbc",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 215.538,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.13337,
    "h": 257.9
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#3A6FBC
secondary
#C9AF89
accent
#A14CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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