#3172C8#3172C8

#3172C8 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.5% C 0.149 H 256.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3172C8
RGBrgb(49, 114, 200)
HSLhsl(214, 61%, 49%)
HSVhsv(214, 76%, 78%)
CMYKcmyk(75.5%, 43%, 0%, 21.6%)
CIE-LABlab(48.08, 9.36, -50.67)
CIE-LCHlch(48.08, 51.52, 280.47°)
OKLaboklab(55.49% -0.0345 -0.145)
OKLCHoklch(55.49% 0.149 256.6)
XYZxyz(17.7054, 16.8557, 56.9527)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3172C8 #C88731
analogous
#31BEC8 #3172C8 #3B31C8
triadic
#3172C8 #C83172 #72C831
tetradic
#3172C8 #C831BE #C88731 #31C83B
square
#3172C8 #C831BE #C88731 #31C83B
split-complementary
#3172C8 #C83B31 #BEC831
monochromatic
#193A66 #255697 #3172C8 #5F93D8 #90B4E4

Accessibility & contrast

On white

4.80
#3172C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3172C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3172C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3172C8#FFFFFF#000000##FFFFFF
##3172C81.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477ACB
Deuteranopia (green-blind)
#2B6CC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3172c8;
/* rgb */ color: rgb(49, 114, 200);
/* oklch */ color: oklch(55.5% 0.149 256.6);
Tailwind
colors: {
  custom: {
    50: '#7e9ad9',
    500: '#3172c8',
    950: '#000000',
  },
}
SCSS
$custom: #3172c8;
$custom-light: #7e9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3172c8",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 214.172,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.14905,
    "h": 256.6
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#3172C8
secondary
#CEAF86
accent
#9F44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #3172C8

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

Preview Lab → · Contrast checker → · Palette generator →

#3172C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva