#3A6FAC#3A6FAC

#3A6FAC is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.4% C 0.112 H 253.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3A6FAC
RGBrgb(58, 111, 172)
HSLhsl(212, 50%, 45%)
HSVhsv(212, 66%, 67%)
CMYKcmyk(66.3%, 35.5%, 0%, 32.5%)
CIE-LABlab(45.97, 2.33, -37.79)
CIE-LCHlch(45.97, 37.86, 273.53°)
OKLaboklab(53.43% -0.0319 -0.1072)
OKLCHoklch(53.43% 0.112 253.4)
XYZxyz(14.8730, 15.2455, 41.1806)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FAC #AC773A
analogous
#3AA8AC #3A6FAC #3E3AAC
triadic
#3A6FAC #AC3A6F #6FAC3A
tetradic
#3A6FAC #AC3AA8 #AC773A #3AAC3E
square
#3A6FAC #AC3AA8 #AC773A #3AAC3E
split-complementary
#3A6FAC #AC3E3A #A8AC3A
monochromatic
#1B3450 #2B517E #3A6FAC #5B8EC8 #89ADD7

Accessibility & contrast

On white

5.19
#3A6FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3A6FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FAC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FAC#FFFFFF#000000##FFFFFF
##3A6FAC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5473AF
Deuteranopia (green-blind)
#4468AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6fac;
/* rgb */ color: rgb(58, 111, 172);
/* oklch */ color: oklch(53.4% 0.112 253.4);
Tailwind
colors: {
  custom: {
    50: '#7c98c5',
    500: '#3a6fac',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fac;
$custom-light: #7c98c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fac",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 212.105,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.11185,
    "h": 253.4
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#3A6FAC
secondary
#C2A380
accent
#994FD9
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3A6FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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