#317798#317798

#317798 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.086 H 232.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#317798
RGBrgb(49, 119, 152)
HSLhsl(199, 51%, 39%)
HSVhsv(199, 68%, 60%)
CMYKcmyk(67.8%, 21.7%, 0%, 40.4%)
CIE-LABlab(47.12, -11.01, -24.28)
CIE-LCHlch(47.12, 26.66, 245.60°)
OKLaboklab(53.94% -0.0532 -0.068)
OKLCHoklch(53.94% 0.086 232)
XYZxyz(13.5287, 16.1122, 32.0967)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317798 #985231
analogous
#319886 #317798 #314498
triadic
#317798 #983177 #779831
tetradic
#317798 #863198 #985231 #449831
square
#317798 #863198 #985231 #449831
split-complementary
#317798 #983144 #988631
monochromatic
#132F3B #22536A #317798 #449AC3 #72B3D2

Accessibility & contrast

On white

4.97
#317798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#317798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317798
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317798#FFFFFF#000000##FFFFFF
##3177981.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317798;
/* rgb */ color: rgb(49, 119, 152);
/* oklch */ color: oklch(53.9% 0.086 232.0);
Tailwind
colors: {
  custom: {
    50: '#759eb6',
    500: '#317798',
    950: '#000000',
  },
}
SCSS
$custom: #317798;
$custom-light: #759eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#317798",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 199.223,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.08636,
    "h": 232
  },
  "luminance": 0.16114
}

Semantic roles & 50–950 ramp

primary
#317798
secondary
#B9846B
accent
#7A4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317798

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

Preview Lab → · Contrast checker → · Palette generator →

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