#3175A2#3175A2

#3175A2 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.098 H 241.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3175A2
RGBrgb(49, 117, 162)
HSLhsl(204, 54%, 41%)
HSVhsv(204, 70%, 64%)
CMYKcmyk(69.8%, 27.8%, 0%, 36.5%)
CIE-LABlab(46.95, -6.36, -30.41)
CIE-LCHlch(46.95, 31.07, 258.18°)
OKLaboklab(53.95% -0.0475 -0.0858)
OKLCHoklch(53.95% 0.098 241)
XYZxyz(14.1470, 15.9827, 36.5148)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175A2 #A25E31
analogous
#31A297 #3175A2 #313CA2
triadic
#3175A2 #A23175 #75A231
tetradic
#3175A2 #9731A2 #A25E31 #3CA231
square
#3175A2 #9731A2 #A25E31 #3CA231
split-complementary
#3175A2 #A2313C #A29731
monochromatic
#153144 #235373 #3175A2 #4895C8 #77B0D6

Accessibility & contrast

On white

5.00
#3175A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3175A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175A2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175A2#FFFFFF#000000##FFFFFF
##3175A21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6075A4
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#008085
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3175a2;
/* rgb */ color: rgb(49, 117, 162);
/* oklch */ color: oklch(54.0% 0.098 241.0);
Tailwind
colors: {
  custom: {
    50: '#779cbd',
    500: '#3175a2',
    950: '#000000',
  },
}
SCSS
$custom: #3175a2;
$custom-light: #779cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3175a2",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 162
  },
  "hsl": {
    "h": 203.894,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.09805,
    "h": 241
  },
  "luminance": 0.15984
}

Semantic roles & 50–950 ramp

primary
#3175A2
secondary
#BE8F71
accent
#854BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3175A2

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

Preview Lab → · Contrast checker → · Palette generator →

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