#3A6DB9#3A6DB9

#3A6DB9 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.132 H 258.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3A6DB9
RGBrgb(58, 109, 185)
HSLhsl(216, 52%, 48%)
HSVhsv(216, 69%, 73%)
CMYKcmyk(68.6%, 41.1%, 0%, 27.5%)
CIE-LABlab(46.09, 8.24, -45.17)
CIE-LCHlch(46.09, 45.91, 280.34°)
OKLaboklab(53.76% -0.0267 -0.1288)
OKLCHoklch(53.76% 0.132 258.3)
XYZxyz(15.9674, 15.3380, 48.0086)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DB9 #B9863A
analogous
#3AACB9 #3A6DB9 #473AB9
triadic
#3A6DB9 #B93A6D #6DB93A
tetradic
#3A6DB9 #B93AAC #B9863A #3AB947
square
#3A6DB9 #B93AAC #B9863A #3AB947
split-complementary
#3A6DB9 #B9473A #ACB93A
monochromatic
#1D365C #2B528A #3A6DB9 #628ECE #91AFDC

Accessibility & contrast

On white

5.16
#3A6DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A6DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DB9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DB9#FFFFFF#000000##FFFFFF
##3A6DB91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6db9;
/* rgb */ color: rgb(58, 109, 185);
/* oklch */ color: oklch(53.8% 0.132 258.3);
Tailwind
colors: {
  custom: {
    50: '#7e96ce',
    500: '#3a6db9',
    950: '#000000',
  },
}
SCSS
$custom: #3a6db9;
$custom-light: #7e96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6db9",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 185
  },
  "hsl": {
    "h": 215.906,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.13155,
    "h": 258.3
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#3A6DB9
secondary
#C7AE87
accent
#A24CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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