#3175B4#3175B4

#3175B4 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.9% C 0.120 H 249.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3175B4
RGBrgb(49, 117, 180)
HSLhsl(209, 57%, 45%)
HSVhsv(209, 73%, 71%)
CMYKcmyk(72.8%, 35%, 0%, 29.4%)
CIE-LABlab(47.84, 0.11, -39.51)
CIE-LCHlch(47.84, 39.51, 270.16°)
OKLaboklab(54.95% -0.042 -0.1123)
OKLCHoklch(54.95% 0.12 249.5)
XYZxyz(15.8630, 16.6691, 45.5526)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175B4 #B47031
analogous
#31B4B1 #3175B4 #3134B4
triadic
#3175B4 #B43175 #75B431
tetradic
#3175B4 #B131B4 #B47031 #34B431
square
#3175B4 #B131B4 #B47031 #34B431
split-complementary
#3175B4 #B43134 #B4B131
monochromatic
#173654 #245684 #3175B4 #5293D0 #82B1DD

Accessibility & contrast

On white

4.85
#3175B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3175B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175B4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175B4#FFFFFF#000000##FFFFFF
##3175B41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5878B7
Deuteranopia (green-blind)
#456CB3
Tritanopia (blue-blind)
#00848C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3175b4;
/* rgb */ color: rgb(49, 117, 180);
/* oklch */ color: oklch(54.9% 0.120 249.5);
Tailwind
colors: {
  custom: {
    50: '#7a9ccb',
    500: '#3175b4',
    950: '#000000',
  },
}
SCSS
$custom: #3175b4;
$custom-light: #7a9ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3175b4",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 180
  },
  "hsl": {
    "h": 208.855,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.11986,
    "h": 249.5
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#3175B4
secondary
#C69F7B
accent
#9147E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #3175B4

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

Preview Lab → · Contrast checker → · Palette generator →

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