#317D99#317D99

#317D99 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.085 H 225.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317D99
RGBrgb(49, 125, 153)
HSLhsl(196, 51%, 40%)
HSVhsv(196, 68%, 60%)
CMYKcmyk(68%, 18.3%, 0%, 40%)
CIE-LABlab(49.03, -14.08, -21.92)
CIE-LCHlch(49.03, 26.05, 237.29°)
OKLaboklab(55.48% -0.0593 -0.0613)
OKLCHoklch(55.48% 0.085 225.9)
XYZxyz(14.3477, 17.6186, 32.7754)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D99 #994D31
analogous
#319981 #317D99 #314999
triadic
#317D99 #99317D #7D9931
tetradic
#317D99 #813199 #994D31 #499931
square
#317D99 #813199 #994D31 #499931
split-complementary
#317D99 #993149 #998131
monochromatic
#13313C #22576B #317D99 #44A1C3 #72B8D2

Accessibility & contrast

On white

4.64
#317D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#317D99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317D99
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D99#FFFFFF#000000##FFFFFF
##317D991.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9A
Deuteranopia (green-blind)
#5F7099
Tritanopia (blue-blind)
#008586
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317d99;
/* rgb */ color: rgb(49, 125, 153);
/* oklch */ color: oklch(55.5% 0.085 225.9);
Tailwind
colors: {
  custom: {
    50: '#76a2b7',
    500: '#317d99',
    950: '#000000',
  },
}
SCSS
$custom: #317d99;
$custom-light: #76a2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#317d99",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 153
  },
  "hsl": {
    "h": 196.154,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.08526,
    "h": 225.9
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#317D99
secondary
#BA816C
accent
#734DDB
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #317D99

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

Preview Lab → · Contrast checker → · Palette generator →

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