#3175BB#3175BB

#3175BB is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.4% C 0.129 H 251.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3175BB
RGBrgb(49, 117, 187)
HSLhsl(210, 58%, 46%)
HSVhsv(210, 74%, 73%)
CMYKcmyk(73.8%, 37.4%, 0%, 26.7%)
CIE-LABlab(48.21, 2.68, -42.97)
CIE-LCHlch(48.21, 43.06, 273.57°)
OKLaboklab(55.36% -0.0401 -0.1224)
OKLCHoklch(55.36% 0.129 251.8)
XYZxyz(16.5942, 16.9615, 49.4034)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175BB #BB7731
analogous
#31BABB #3175BB #3231BB
triadic
#3175BB #BB3175 #75BB31
tetradic
#3175BB #BB31BA #BB7731 #31BB32
square
#3175BB #BB31BA #BB7731 #31BB32
split-complementary
#3175BB #BB3231 #BABB31
monochromatic
#18385A #24578B #3175BB #5694D3 #87B3E0

Accessibility & contrast

On white

4.78
#3175BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3175BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175BB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175BB#FFFFFF#000000##FFFFFF
##3175BB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BE
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3175bb;
/* rgb */ color: rgb(49, 117, 187);
/* oklch */ color: oklch(55.4% 0.129 251.8);
Tailwind
colors: {
  custom: {
    50: '#7b9cd0',
    500: '#3175bb',
    950: '#000000',
  },
}
SCSS
$custom: #3175bb;
$custom-light: #7b9cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3175bb",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 187
  },
  "hsl": {
    "h": 210.435,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.1288,
    "h": 251.8
  },
  "luminance": 0.16963
}

Semantic roles & 50–950 ramp

primary
#3175BB
secondary
#C9A47F
accent
#9546E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3175BB

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

Preview Lab → · Contrast checker → · Palette generator →

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