#3175C4#3175C4

#3175C4 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.9% C 0.140 H 254.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3175C4
RGBrgb(49, 117, 196)
HSLhsl(212, 60%, 48%)
HSVhsv(212, 75%, 77%)
CMYKcmyk(75%, 40.3%, 0%, 23.1%)
CIE-LABlab(48.71, 6.00, -47.36)
CIE-LCHlch(48.71, 47.74, 277.23°)
OKLaboklab(55.91% -0.038 -0.1353)
OKLCHoklch(55.91% 0.14 254.3)
XYZxyz(17.5880, 17.3591, 54.6375)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175C4 #C48031
analogous
#31BEC4 #3175C4 #3731C4
triadic
#3175C4 #C43175 #75C431
tetradic
#3175C4 #C431BE #C48031 #31C437
square
#3175C4 #C431BE #C48031 #31C437
split-complementary
#3175C4 #C43731 #BEC431
monochromatic
#193B62 #255893 #3175C4 #5C95D6 #8DB4E2

Accessibility & contrast

On white

4.70
#3175C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3175C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175C4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175C4#FFFFFF#000000##FFFFFF
##3175C41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#376DC2
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3175c4;
/* rgb */ color: rgb(49, 117, 196);
/* oklch */ color: oklch(55.9% 0.140 254.3);
Tailwind
colors: {
  custom: {
    50: '#7d9cd6',
    500: '#3175c4',
    950: '#000000',
  },
}
SCSS
$custom: #3175c4;
$custom-light: #7d9cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3175c4",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 196
  },
  "hsl": {
    "h": 212.245,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.14049,
    "h": 254.3
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#3175C4
secondary
#CDAB84
accent
#9A45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3175C4

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

Preview Lab → · Contrast checker → · Palette generator →

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