#3175A7#3175A7

#3175A7 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.2% C 0.104 H 243.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3175A7
RGBrgb(49, 117, 167)
HSLhsl(205, 55%, 42%)
HSVhsv(205, 71%, 65%)
CMYKcmyk(70.7%, 29.9%, 0%, 34.5%)
CIE-LABlab(47.19, -4.59, -32.97)
CIE-LCHlch(47.19, 33.29, 262.08°)
OKLaboklab(54.22% -0.0459 -0.0932)
OKLCHoklch(54.22% 0.104 243.8)
XYZxyz(14.6003, 16.1640, 38.9022)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175A7 #A76331
analogous
#31A79E #3175A7 #313AA7
triadic
#3175A7 #A73175 #75A731
tetradic
#3175A7 #9E31A7 #A76331 #3AA731
square
#3175A7 #9E31A7 #A76331 #3AA731
split-complementary
#3175A7 #A7313A #A79E31
monochromatic
#153348 #235478 #3175A7 #4B94CA #7AB0D8

Accessibility & contrast

On white

4.96
#3175A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3175A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175A7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175A7#FFFFFF#000000##FFFFFF
##3175A71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E76A9
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#008187
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3175a7;
/* rgb */ color: rgb(49, 117, 167);
/* oklch */ color: oklch(54.2% 0.104 243.8);
Tailwind
colors: {
  custom: {
    50: '#779cc1',
    500: '#3175a7',
    950: '#000000',
  },
}
SCSS
$custom: #3175a7;
$custom-light: #779cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3175a7",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 167
  },
  "hsl": {
    "h": 205.424,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.10387,
    "h": 243.8
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#3175A7
secondary
#C19473
accent
#894ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3175A7

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

Preview Lab → · Contrast checker → · Palette generator →

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