#317F99#317F99

#317F99 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.085 H 223.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#317F99
RGBrgb(49, 127, 153)
HSLhsl(195, 51%, 40%)
HSVhsv(195, 68%, 60%)
CMYKcmyk(68%, 17%, 0%, 40%)
CIE-LABlab(49.65, -15.19, -20.96)
CIE-LCHlch(49.65, 25.88, 234.07°)
OKLaboklab(55.98% -0.0615 -0.0585)
OKLCHoklch(55.98% 0.085 223.6)
XYZxyz(14.6034, 18.1300, 32.8606)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F99 #994B31
analogous
#31997F #317F99 #314B99
triadic
#317F99 #99317F #7F9931
tetradic
#317F99 #7F3199 #994B31 #4B9931
square
#317F99 #7F3199 #994B31 #4B9931
split-complementary
#317F99 #99314B #997F31
monochromatic
#13323C #22596B #317F99 #44A3C3 #72BAD2

Accessibility & contrast

On white

4.54
#317F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#317F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317F99
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F99#FFFFFF#000000##000000
##317F991.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C9A
Deuteranopia (green-blind)
#627199
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317f99;
/* rgb */ color: rgb(49, 127, 153);
/* oklch */ color: oklch(56.0% 0.085 223.6);
Tailwind
colors: {
  custom: {
    50: '#76a4b7',
    500: '#317f99',
    950: '#000000',
  },
}
SCSS
$custom: #317f99;
$custom-light: #76a4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#317f99",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 153
  },
  "hsl": {
    "h": 195,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.08486,
    "h": 223.6
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#317F99
secondary
#BA7F6C
accent
#704DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #317F99

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

Preview Lab → · Contrast checker → · Palette generator →

#317F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva