#3175CC#3175CC

#3175CC is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.4% C 0.151 H 256.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3175CC
RGBrgb(49, 117, 204)
HSLhsl(214, 61%, 50%)
HSVhsv(214, 76%, 80%)
CMYKcmyk(76%, 42.6%, 0%, 20%)
CIE-LABlab(49.17, 8.98, -51.20)
CIE-LCHlch(49.17, 51.99, 279.95°)
OKLaboklab(56.42% -0.0362 -0.1465)
OKLCHoklch(56.42% 0.151 256.1)
XYZxyz(18.5230, 17.7330, 59.5616)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175CC #CC8831
analogous
#31C3CC #3175CC #3A31CC
triadic
#3175CC #CC3175 #75CC31
tetradic
#3175CC #CC31C3 #CC8831 #31CC3A
square
#3175CC #CC31C3 #CC8831 #31CC3A
split-complementary
#3175CC #CC3A31 #C3CC31
monochromatic
#193C69 #25599B #3175CC #6196D9 #92B7E5

Accessibility & contrast

On white

4.62
#3175CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3175CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3175CC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175CC#FFFFFF#000000##FFFFFF
##3175CC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3175cc;
/* rgb */ color: rgb(49, 117, 204);
/* oklch */ color: oklch(56.4% 0.151 256.1);
Tailwind
colors: {
  custom: {
    50: '#7e9cdc',
    500: '#3175cc',
    950: '#000000',
  },
}
SCSS
$custom: #3175cc;
$custom-light: #7e9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3175cc",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 204
  },
  "hsl": {
    "h": 213.677,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.15095,
    "h": 256.1
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#3175CC
secondary
#D0B189
accent
#9E43E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #3175CC

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

Preview Lab → · Contrast checker → · Palette generator →

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