#3178AA#3178AA

#3178AA is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.1% C 0.105 H 242.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3178AA
RGBrgb(49, 120, 170)
HSLhsl(205, 55%, 43%)
HSVhsv(205, 71%, 67%)
CMYKcmyk(71.2%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.24, -5.30, -33.07)
CIE-LCHlch(48.24, 33.49, 260.90°)
OKLaboklab(55.1% -0.048 -0.0934)
OKLCHoklch(55.1% 0.105 242.8)
XYZxyz(15.2360, 16.9865, 40.4982)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178AA #AA6331
analogous
#31AA9F #3178AA #313CAA
triadic
#3178AA #AA3178 #78AA31
tetradic
#3178AA #9F31AA #AA6331 #3CAA31
square
#3178AA #9F31AA #AA6331 #3CAA31
split-complementary
#3178AA #AA313C #AA9F31
monochromatic
#16354B #23567A #3178AA #4D97CC #7CB3D9

Accessibility & contrast

On white

4.78
#3178AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3178AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3178AA#FFFFFF#000000##FFFFFF
##3178AA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#00848A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3178aa;
/* rgb */ color: rgb(49, 120, 170);
/* oklch */ color: oklch(55.1% 0.105 242.8);
Tailwind
colors: {
  custom: {
    50: '#789ec3',
    500: '#3178aa',
    950: '#000000',
  },
}
SCSS
$custom: #3178aa;
$custom-light: #789ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#3178aa",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 204.793,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.551,
    "c": 0.10503,
    "h": 242.8
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#3178AA
secondary
#C29575
accent
#8749DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3178AA

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

Preview Lab → · Contrast checker → · Palette generator →

#3178AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva