#317FA4#317FA4

#317FA4 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.094 H 232.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#317FA4
RGBrgb(49, 127, 164)
HSLhsl(199, 54%, 42%)
HSVhsv(199, 70%, 64%)
CMYKcmyk(70.1%, 22.6%, 0%, 35.7%)
CIE-LABlab(50.11, -11.46, -26.67)
CIE-LCHlch(50.11, 29.03, 246.74°)
OKLaboklab(56.49% -0.0573 -0.0749)
OKLCHoklch(56.49% 0.094 232.6)
XYZxyz(15.5542, 18.5103, 37.8679)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA4 #A45631
analogous
#31A490 #317FA4 #3146A4
triadic
#317FA4 #A4317F #7FA431
tetradic
#317FA4 #9031A4 #A45631 #46A431
square
#317FA4 #9031A4 #A45631 #46A431
split-complementary
#317FA4 #A43146 #A49031
monochromatic
#153646 #235B75 #317FA4 #49A0C9 #79B9D7

Accessibility & contrast

On white

4.47
#317FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#317FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA4#FFFFFF#000000##000000
##317FA41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7EA6
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317fa4;
/* rgb */ color: rgb(49, 127, 164);
/* oklch */ color: oklch(56.5% 0.094 232.6);
Tailwind
colors: {
  custom: {
    50: '#77a4bf',
    500: '#317fa4',
    950: '#000000',
  },
}
SCSS
$custom: #317fa4;
$custom-light: #77a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa4",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 199.304,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.09425,
    "h": 232.6
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#317FA4
secondary
#BF8B72
accent
#7A4ADD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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