#3174C8#3174C8

#3174C8 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.9% C 0.147 H 255.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3174C8
RGBrgb(49, 116, 200)
HSLhsl(213, 61%, 49%)
HSVhsv(213, 76%, 78%)
CMYKcmyk(75.5%, 42%, 0%, 21.6%)
CIE-LABlab(48.65, 8.11, -49.75)
CIE-LCHlch(48.65, 50.41, 279.26°)
OKLaboklab(55.94% -0.0362 -0.1423)
OKLCHoklch(55.94% 0.147 255.7)
XYZxyz(17.9335, 17.3118, 57.0287)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3174C8 #C88531
analogous
#31C0C8 #3174C8 #3931C8
triadic
#3174C8 #C83174 #74C831
tetradic
#3174C8 #C831C0 #C88531 #31C839
square
#3174C8 #C831C0 #C88531 #31C839
split-complementary
#3174C8 #C83931 #C0C831
monochromatic
#193B66 #255797 #3174C8 #5F94D8 #90B5E4

Accessibility & contrast

On white

4.71
#3174C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3174C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3174C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3174C8#FFFFFF#000000##FFFFFF
##3174C81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#306DC6
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3174c8;
/* rgb */ color: rgb(49, 116, 200);
/* oklch */ color: oklch(55.9% 0.147 255.7);
Tailwind
colors: {
  custom: {
    50: '#7e9bd9',
    500: '#3174c8',
    950: '#000000',
  },
}
SCSS
$custom: #3174c8;
$custom-light: #7e9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3174c8",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 213.377,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.14683,
    "h": 255.7
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#3174C8
secondary
#CEAE86
accent
#9D44E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #3174C8

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

Preview Lab → · Contrast checker → · Palette generator →

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