#316778#316778

#316778 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.4% C 0.063 H 221.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#316778
RGBrgb(49, 103, 120)
HSLhsl(194, 42%, 33%)
HSVhsv(194, 59%, 47%)
CMYKcmyk(59.2%, 14.2%, 0%, 52.9%)
CIE-LABlab(40.75, -12.52, -14.94)
CIE-LCHlch(40.75, 19.49, 230.03°)
OKLaboklab(48.42% -0.0476 -0.0415)
OKLCHoklch(48.42% 0.063 221.1)
XYZxyz(9.5057, 11.7086, 19.5247)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316778 #784231
analogous
#317865 #316778 #314378
triadic
#316778 #783167 #677831
tetradic
#316778 #653178 #784231 #437831
square
#316778 #653178 #784231 #437831
split-complementary
#316778 #783143 #786531
monochromatic
#0E1C21 #1F424D #316778 #438CA3 #64AAC0

Accessibility & contrast

On white

6.28
#316778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#316778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316778
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316778#FFFFFF#000000##FFFFFF
##3167781.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#006D6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #316778;
/* rgb */ color: rgb(49, 103, 120);
/* oklch */ color: oklch(48.4% 0.063 221.1);
Tailwind
colors: {
  custom: {
    50: '#70929f',
    500: '#316778',
    950: '#000000',
  },
}
SCSS
$custom: #316778;
$custom-light: #70929f;
$custom-dark: #000000;
JSON
{
  "hex": "#316778",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 120
  },
  "hsl": {
    "h": 194.366,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.06311,
    "h": 221.1
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#316778
secondary
#A76F5E
accent
#7456D2
background
#F7F9F9
surface
#EDF1F2
border
#C8CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #316778

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

Preview Lab → · Contrast checker → · Palette generator →

#316778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva