#317899#317899

#317899 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.087 H 231.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#317899
RGBrgb(49, 120, 153)
HSLhsl(199, 51%, 40%)
HSVhsv(199, 68%, 60%)
CMYKcmyk(68%, 21.6%, 0%, 40%)
CIE-LABlab(47.47, -11.24, -24.32)
CIE-LCHlch(47.47, 26.79, 245.18°)
OKLaboklab(54.24% -0.0539 -0.0682)
OKLCHoklch(54.24% 0.087 231.7)
XYZxyz(13.7306, 16.3843, 32.5697)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317899 #995231
analogous
#319986 #317899 #314499
triadic
#317899 #993178 #789931
tetradic
#317899 #863199 #995231 #449931
square
#317899 #863199 #995231 #449931
split-complementary
#317899 #993144 #998631
monochromatic
#132F3C #22546B #317899 #449BC3 #72B4D2

Accessibility & contrast

On white

4.91
#317899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#317899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317899
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317899#FFFFFF#000000##FFFFFF
##3178991.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68769B
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317899;
/* rgb */ color: rgb(49, 120, 153);
/* oklch */ color: oklch(54.2% 0.087 231.7);
Tailwind
colors: {
  custom: {
    50: '#759fb7',
    500: '#317899',
    950: '#000000',
  },
}
SCSS
$custom: #317899;
$custom-light: #759fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#317899",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 199.038,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.08689,
    "h": 231.7
  },
  "luminance": 0.16386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317899

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

Preview Lab → · Contrast checker → · Palette generator →

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