#3175BA#3175BA

#3175BA is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.3% C 0.128 H 251.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3175BA
RGBrgb(49, 117, 186)
HSLhsl(210, 58%, 46%)
HSVhsv(210, 74%, 73%)
CMYKcmyk(73.7%, 37.1%, 0%, 27.1%)
CIE-LABlab(48.16, 2.31, -42.48)
CIE-LCHlch(48.16, 42.55, 273.11°)
OKLaboklab(55.3% -0.0404 -0.1209)
OKLCHoklch(55.3% 0.128 251.5)
XYZxyz(16.4875, 16.9189, 48.8416)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175BA #BA7631
analogous
#31B9BA #3175BA #3131BA
triadic
#3175BA #BA3175 #75BA31
tetradic
#3175BA #BA31B9 #BA7631 #31BA31
square
#3175BA #BA31B9 #BA7631 #31BA31
split-complementary
#3175BA #BA3131 #B9BA31
monochromatic
#173859 #24578A #3175BA #5694D2 #86B2DF

Accessibility & contrast

On white

4.79
#3175BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#3175BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3175BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175BA#FFFFFF#000000##FFFFFF
##3175BA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3175ba;
/* rgb */ color: rgb(49, 117, 186);
/* oklch */ color: oklch(55.3% 0.128 251.5);
Tailwind
colors: {
  custom: {
    50: '#7b9ccf',
    500: '#3175ba',
    950: '#000000',
  },
}
SCSS
$custom: #3175ba;
$custom-light: #7b9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3175ba",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 186
  },
  "hsl": {
    "h": 210.219,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.12752,
    "h": 251.5
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#3175BA
secondary
#C9A47E
accent
#9446E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3175BA

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

Preview Lab → · Contrast checker → · Palette generator →

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