#3175A5#3175A5

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

Color values

HEX#3175A5
RGBrgb(49, 117, 165)
HSLhsl(205, 54%, 42%)
HSVhsv(205, 70%, 65%)
CMYKcmyk(70.3%, 29.1%, 0%, 35.3%)
CIE-LABlab(47.09, -5.30, -31.95)
CIE-LCHlch(47.09, 32.39, 260.58°)
OKLaboklab(54.11% -0.0465 -0.0902)
OKLCHoklch(54.11% 0.102 242.7)
XYZxyz(14.4168, 16.0906, 37.9360)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175A5 #A56131
analogous
#31A59B #3175A5 #313BA5
triadic
#3175A5 #A53175 #75A531
tetradic
#3175A5 #9B31A5 #A56131 #3BA531
square
#3175A5 #9B31A5 #A56131 #3BA531
split-complementary
#3175A5 #A5313B #A59B31
monochromatic
#153247 #235476 #3175A5 #4A95C9 #79B0D7

Accessibility & contrast

On white

4.98
#3175A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3175A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175A5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175A5#FFFFFF#000000##FFFFFF
##3175A51.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A7
Deuteranopia (green-blind)
#4F6BA4
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3175a5;
/* rgb */ color: rgb(49, 117, 165);
/* oklch */ color: oklch(54.1% 0.102 242.7);
Tailwind
colors: {
  custom: {
    50: '#779cc0',
    500: '#3175a5',
    950: '#000000',
  },
}
SCSS
$custom: #3175a5;
$custom-light: #779cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3175a5",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 165
  },
  "hsl": {
    "h": 204.828,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.10151,
    "h": 242.7
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#3175A5
secondary
#C09272
accent
#874ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3175A5

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

Preview Lab → · Contrast checker → · Palette generator →

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