#3A6791#3A6791

#3A6791 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.1% C 0.084 H 248.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3A6791
RGBrgb(58, 103, 145)
HSLhsl(209, 43%, 40%)
HSVhsv(209, 60%, 57%)
CMYKcmyk(60%, 29%, 0%, 43.1%)
CIE-LABlab(42.22, -2.20, -27.71)
CIE-LCHlch(42.22, 27.80, 265.47°)
OKLaboklab(50.05% -0.031 -0.0779)
OKLCHoklch(50.05% 0.084 248.3)
XYZxyz(11.7042, 12.6433, 28.6062)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6791 #91643A
analogous
#3A9190 #3A6791 #3A3B91
triadic
#3A6791 #913A67 #67913A
tetradic
#3A6791 #903A91 #91643A #3B913A
square
#3A6791 #903A91 #91643A #3B913A
split-complementary
#3A6791 #913A3B #91903A
monochromatic
#17293A #294865 #3A6791 #4F86B9 #7BA4CA

Accessibility & contrast

On white

5.95
#3A6791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3A6791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6791
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6791#FFFFFF#000000##FFFFFF
##3A67911.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556893
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#007176
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a6791;
/* rgb */ color: rgb(58, 103, 145);
/* oklch */ color: oklch(50.1% 0.084 248.3);
Tailwind
colors: {
  custom: {
    50: '#7892b1',
    500: '#3a6791',
    950: '#000000',
  },
}
SCSS
$custom: #3a6791;
$custom-light: #7892b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6791",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 208.966,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50052,
    "c": 0.0839,
    "h": 248.3
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#3A6791
secondary
#B49273
accent
#9255D3
background
#F7F8FA
surface
#EEF0F5
border
#C9CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #3A6791

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

Preview Lab → · Contrast checker → · Palette generator →

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