#3175AB#3175AB

#3175AB is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.4% C 0.109 H 245.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3175AB
RGBrgb(49, 117, 171)
HSLhsl(207, 55%, 43%)
HSVhsv(207, 71%, 67%)
CMYKcmyk(71.3%, 31.6%, 0%, 32.9%)
CIE-LABlab(47.38, -3.15, -35.00)
CIE-LCHlch(47.38, 35.14, 264.86°)
OKLaboklab(54.44% -0.0446 -0.0991)
OKLCHoklch(54.44% 0.109 245.8)
XYZxyz(14.9758, 16.3142, 40.8799)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175AB #AB6731
analogous
#31ABA4 #3175AB #3138AB
triadic
#3175AB #AB3175 #75AB31
tetradic
#3175AB #A431AB #AB6731 #38AB31
square
#3175AB #A431AB #AB6731 #38AB31
split-complementary
#3175AB #AB3138 #ABA431
monochromatic
#16344C #23547B #3175AB #4D94CC #7DB1DA

Accessibility & contrast

On white

4.93
#3175AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#3175AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175AB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175AB#FFFFFF#000000##FFFFFF
##3175AB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AD
Deuteranopia (green-blind)
#4C6BAA
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3175ab;
/* rgb */ color: rgb(49, 117, 171);
/* oklch */ color: oklch(54.4% 0.109 245.8);
Tailwind
colors: {
  custom: {
    50: '#789cc4',
    500: '#3175ab',
    950: '#000000',
  },
}
SCSS
$custom: #3175ab;
$custom-light: #789cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3175ab",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 171
  },
  "hsl": {
    "h": 206.557,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.10867,
    "h": 245.8
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#3175AB
secondary
#C29775
accent
#8B49DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3175AB

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

Preview Lab → · Contrast checker → · Palette generator →

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