#3A6DBB#3A6DBB

#3A6DBB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.134 H 258.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3A6DBB
RGBrgb(58, 109, 187)
HSLhsl(216, 53%, 48%)
HSVhsv(216, 69%, 73%)
CMYKcmyk(69%, 41.7%, 0%, 26.7%)
CIE-LABlab(46.21, 8.97, -46.14)
CIE-LCHlch(46.21, 47.01, 281.00°)
OKLaboklab(53.89% -0.0263 -0.1317)
OKLCHoklch(53.89% 0.134 258.7)
XYZxyz(16.1800, 15.4230, 49.1283)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DBB #BB883A
analogous
#3AADBB #3A6DBB #473ABB
triadic
#3A6DBB #BB3A6D #6DBB3A
tetradic
#3A6DBB #BB3AAD #BB883A #3ABB47
square
#3A6DBB #BB3AAD #BB883A #3ABB47
split-complementary
#3A6DBB #BB473A #ADBB3A
monochromatic
#1D375E #2C528C #3A6DBB #638ECF #92B0DD

Accessibility & contrast

On white

5.14
#3A6DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3A6DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DBB#FFFFFF#000000##FFFFFF
##3A6DBB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6dbb;
/* rgb */ color: rgb(58, 109, 187);
/* oklch */ color: oklch(53.9% 0.134 258.7);
Tailwind
colors: {
  custom: {
    50: '#7f96d0',
    500: '#3a6dbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dbb;
$custom-light: #7f96d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dbb",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 216.279,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.13428,
    "h": 258.7
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#3A6DBB
secondary
#C8AF88
accent
#A34CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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