#3A7791#3A7791

#3A7791 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.0% C 0.075 H 228.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7791
RGBrgb(58, 119, 145)
HSLhsl(198, 43%, 40%)
HSVhsv(198, 60%, 57%)
CMYKcmyk(60%, 17.9%, 0%, 43.1%)
CIE-LABlab(47.15, -11.65, -20.07)
CIE-LCHlch(47.15, 23.21, 239.87°)
OKLaboklab(53.96% -0.0497 -0.0559)
OKLCHoklch(53.96% 0.075 228.4)
XYZxyz(13.4506, 16.1362, 29.1883)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7791 #91543A
analogous
#3A9180 #3A7791 #3A4C91
triadic
#3A7791 #913A77 #77913A
tetradic
#3A7791 #803A91 #91543A #4C913A
square
#3A7791 #803A91 #91543A #4C913A
split-complementary
#3A7791 #913A4C #91803A
monochromatic
#172F3A #295365 #3A7791 #4F99B9 #7BB3CA

Accessibility & contrast

On white

4.97
#3A7791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A7791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7791
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7791#FFFFFF#000000##FFFFFF
##3A77911.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697592
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#007E7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7791;
/* rgb */ color: rgb(58, 119, 145);
/* oklch */ color: oklch(54.0% 0.075 228.4);
Tailwind
colors: {
  custom: {
    50: '#789eb1',
    500: '#3a7791',
    950: '#000000',
  },
}
SCSS
$custom: #3a7791;
$custom-light: #789eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7791",
  "rgb": {
    "r": 58,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 197.931,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.07486,
    "h": 228.4
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#3A7791
secondary
#B48673
accent
#7B55D3
background
#F7F9FA
surface
#EEF2F5
border
#C9CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #3A7791

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

Preview Lab → · Contrast checker → · Palette generator →

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