#3791AF#3791AF

#3791AF is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.6% C 0.095 H 223.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3791AF
RGBrgb(55, 145, 175)
HSLhsl(195, 52%, 45%)
HSVhsv(195, 69%, 69%)
CMYKcmyk(68.6%, 17.1%, 0%, 31.4%)
CIE-LABlab(56.24, -16.82, -23.52)
CIE-LCHlch(56.24, 28.91, 234.42°)
OKLaboklab(61.59% -0.0685 -0.0657)
OKLCHoklch(61.59% 0.095 223.8)
XYZxyz(19.4357, 24.1560, 44.1874)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791AF #AF5537
analogous
#37AF91 #3791AF #3755AF
triadic
#3791AF #AF3791 #91AF37
tetradic
#3791AF #9137AF #AF5537 #55AF37
square
#3791AF #9137AF #AF5537 #55AF37
split-complementary
#3791AF #AF3755 #AF9137
monochromatic
#1A4452 #286A80 #3791AF #59AECB #87C5D9

Accessibility & contrast

On white

3.60
#3791AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#3791AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791AF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791AF#FFFFFF#000000##000000
##3791AF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#808EB1
Deuteranopia (green-blind)
#6F82AF
Tritanopia (blue-blind)
#009A9B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3791af;
/* rgb */ color: rgb(55, 145, 175);
/* oklch */ color: oklch(61.6% 0.095 223.8);
Tailwind
colors: {
  custom: {
    50: '#7db1c7',
    500: '#3791af',
    950: '#000000',
  },
}
SCSS
$custom: #3791af;
$custom-light: #7db1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3791af",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 175
  },
  "hsl": {
    "h": 195,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.09494,
    "h": 223.8
  },
  "luminance": 0.24158
}

Semantic roles & 50–950 ramp

primary
#3791AF
secondary
#C3907F
accent
#704CDC
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3791AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3791AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva