#3178BA#3178BA

#3178BA is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.0% C 0.125 H 249.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3178BA
RGBrgb(49, 120, 186)
HSLhsl(209, 58%, 46%)
HSVhsv(209, 74%, 73%)
CMYKcmyk(73.7%, 35.5%, 0%, 27.1%)
CIE-LABlab(49.04, 0.48, -41.08)
CIE-LCHlch(49.04, 41.08, 270.67°)
OKLaboklab(55.99% -0.0432 -0.1168)
OKLCHoklch(55.99% 0.125 249.7)
XYZxyz(16.8427, 17.6292, 48.9600)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3178BA #BA7331
analogous
#31BAB7 #3178BA #3133BA
triadic
#3178BA #BA3178 #78BA31
tetradic
#3178BA #B731BA #BA7331 #33BA31
square
#3178BA #B731BA #BA7331 #33BA31
split-complementary
#3178BA #BA3133 #BAB731
monochromatic
#173959 #24598A #3178BA #5696D2 #86B4DF

Accessibility & contrast

On white

4.64
#3178BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3178BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3178BA#FFFFFF#000000##FFFFFF
##3178BA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBD
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3178ba;
/* rgb */ color: rgb(49, 120, 186);
/* oklch */ color: oklch(56.0% 0.125 249.7);
Tailwind
colors: {
  custom: {
    50: '#7b9ecf',
    500: '#3178ba',
    950: '#000000',
  },
}
SCSS
$custom: #3178ba;
$custom-light: #7b9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3178ba",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 208.905,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.12454,
    "h": 249.7
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#3178BA
secondary
#C9A27E
accent
#9146E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3178BA

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

Preview Lab → · Contrast checker → · Palette generator →

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