#3A6DAD#3A6DAD

#3A6DAD is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 53.0% C 0.115 H 255.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3A6DAD
RGBrgb(58, 109, 173)
HSLhsl(213, 50%, 45%)
HSVhsv(213, 66%, 68%)
CMYKcmyk(66.5%, 37%, 0%, 32.2%)
CIE-LABlab(45.43, 3.92, -39.23)
CIE-LCHlch(45.43, 39.42, 275.71°)
OKLaboklab(53.03% -0.0296 -0.1114)
OKLCHoklch(53.03% 0.115 255.1)
XYZxyz(14.7536, 14.8525, 41.6164)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DAD #AD7A3A
analogous
#3AA7AD #3A6DAD #403AAD
triadic
#3A6DAD #AD3A6D #6DAD3A
tetradic
#3A6DAD #AD3AA7 #AD7A3A #3AAD40
square
#3A6DAD #AD3AA7 #AD7A3A #3AAD40
split-complementary
#3A6DAD #AD403A #A7AD3A
monochromatic
#1B3351 #2B507F #3A6DAD #5C8CC8 #8AACD8

Accessibility & contrast

On white

5.29
#3A6DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3A6DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DAD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DAD#FFFFFF#000000##FFFFFF
##3A6DAD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171B0
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a6dad;
/* rgb */ color: rgb(58, 109, 173);
/* oklch */ color: oklch(53.0% 0.115 255.1);
Tailwind
colors: {
  custom: {
    50: '#7c96c6',
    500: '#3a6dad',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dad;
$custom-light: #7c96c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dad",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 173
  },
  "hsl": {
    "h": 213.391,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.11526,
    "h": 255.1
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#3A6DAD
secondary
#C2A581
accent
#9C4ED9
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3A6DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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