#3175A4#3175A4

#3175A4 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.1% C 0.100 H 242.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3175A4
RGBrgb(49, 117, 164)
HSLhsl(205, 54%, 42%)
HSVhsv(205, 70%, 64%)
CMYKcmyk(70.1%, 28.7%, 0%, 35.7%)
CIE-LABlab(47.05, -5.66, -31.44)
CIE-LCHlch(47.05, 31.94, 259.80°)
OKLaboklab(54.06% -0.0468 -0.0887)
OKLCHoklch(54.06% 0.1 242.2)
XYZxyz(14.3262, 16.0543, 37.4585)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175A4 #A46031
analogous
#31A49A #3175A4 #313BA4
triadic
#3175A4 #A43175 #75A431
tetradic
#3175A4 #9A31A4 #A46031 #3BA431
square
#3175A4 #9A31A4 #A46031 #3BA431
split-complementary
#3175A4 #A4313B #A49A31
monochromatic
#153246 #235375 #3175A4 #4995C9 #79B0D7

Accessibility & contrast

On white

4.99
#3175A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3175A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175A4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175A4#FFFFFF#000000##FFFFFF
##3175A41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6076A6
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3175a4;
/* rgb */ color: rgb(49, 117, 164);
/* oklch */ color: oklch(54.1% 0.100 242.2);
Tailwind
colors: {
  custom: {
    50: '#779cbf',
    500: '#3175a4',
    950: '#000000',
  },
}
SCSS
$custom: #3175a4;
$custom-light: #779cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3175a4",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 164
  },
  "hsl": {
    "h": 204.522,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.10034,
    "h": 242.2
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

primary
#3175A4
secondary
#BF9172
accent
#864ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3175A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3175A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva