#3A6DAC#3A6DAC

#3A6DAC is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.114 H 254.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3A6DAC
RGBrgb(58, 109, 172)
HSLhsl(213, 50%, 45%)
HSVhsv(213, 66%, 67%)
CMYKcmyk(66.3%, 36.6%, 0%, 32.5%)
CIE-LABlab(45.38, 3.57, -38.73)
CIE-LCHlch(45.38, 38.89, 275.26°)
OKLaboklab(52.97% -0.0298 -0.1099)
OKLCHoklch(52.97% 0.114 254.8)
XYZxyz(14.6573, 14.8139, 41.1087)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DAC #AC793A
analogous
#3AA6AC #3A6DAC #403AAC
triadic
#3A6DAC #AC3A6D #6DAC3A
tetradic
#3A6DAC #AC3AA6 #AC793A #3AAC40
square
#3A6DAC #AC3AA6 #AC793A #3AAC40
split-complementary
#3A6DAC #AC403A #A6AC3A
monochromatic
#1B3350 #2B507E #3A6DAC #5B8CC8 #89ACD7

Accessibility & contrast

On white

5.30
#3A6DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3A6DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DAC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DAC#FFFFFF#000000##FFFFFF
##3A6DAC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#007C84
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6dac;
/* rgb */ color: rgb(58, 109, 172);
/* oklch */ color: oklch(53.0% 0.114 254.8);
Tailwind
colors: {
  custom: {
    50: '#7c96c5',
    500: '#3a6dac',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dac;
$custom-light: #7c96c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dac",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 172
  },
  "hsl": {
    "h": 213.158,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.11392,
    "h": 254.8
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#3A6DAC
secondary
#C2A480
accent
#9B4FD9
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3A6DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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