#3173CA#3173CA

#3173CA is a mid, vivid cyan. Relative luminance 0.172; OKLCH L 55.8% C 0.151 H 256.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3173CA
RGBrgb(49, 115, 202)
HSLhsl(214, 61%, 49%)
HSVhsv(214, 76%, 79%)
CMYKcmyk(75.7%, 43.1%, 0%, 20.8%)
CIE-LABlab(48.48, 9.48, -51.16)
CIE-LCHlch(48.48, 52.03, 280.50°)
OKLaboklab(55.84% -0.0349 -0.1465)
OKLCHoklch(55.84% 0.151 256.6)
XYZxyz(18.0541, 17.1766, 58.2296)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3173CA #CA8831
analogous
#31C0CA #3173CA #3C31CA
triadic
#3173CA #CA3173 #73CA31
tetradic
#3173CA #CA31C0 #CA8831 #31CA3C
square
#3173CA #CA31C0 #CA8831 #31CA3C
split-complementary
#3173CA #CA3C31 #C0CA31
monochromatic
#193B67 #255799 #3173CA #6094D8 #91B5E4

Accessibility & contrast

On white

4.73
#3173CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3173CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3173CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3173CA#FFFFFF#000000##FFFFFF
##3173CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#2B6DC8
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3173ca;
/* rgb */ color: rgb(49, 115, 202);
/* oklch */ color: oklch(55.8% 0.151 256.6);
Tailwind
colors: {
  custom: {
    50: '#7e9adb',
    500: '#3173ca',
    950: '#000000',
  },
}
SCSS
$custom: #3173ca;
$custom-light: #7e9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3173ca",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 214.118,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.15057,
    "h": 256.6
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#3173CA
secondary
#CFB088
accent
#9F44E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #3173CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3173CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva