#317BAE#317BAE

#317BAE is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.107 H 242.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#317BAE
RGBrgb(49, 123, 174)
HSLhsl(204, 56%, 44%)
HSVhsv(204, 72%, 68%)
CMYKcmyk(71.8%, 29.3%, 0%, 31.8%)
CIE-LABlab(49.34, -5.65, -33.67)
CIE-LCHlch(49.34, 34.14, 260.48°)
OKLaboklab(56.03% -0.0497 -0.0951)
OKLCHoklch(56.03% 0.107 242.4)
XYZxyz(15.9866, 17.8731, 42.6435)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BAE #AE6431
analogous
#31AEA2 #317BAE #313CAE
triadic
#317BAE #AE317B #7BAE31
tetradic
#317BAE #A231AE #AE6431 #3CAE31
square
#317BAE #A231AE #AE6431 #3CAE31
split-complementary
#317BAE #AE313C #AEA231
monochromatic
#16374E #24597E #317BAE #4F9ACD #7FB5DB

Accessibility & contrast

On white

4.59
#317BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#317BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317BAE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BAE#FFFFFF#000000##FFFFFF
##317BAE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647CB0
Deuteranopia (green-blind)
#5270AD
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317bae;
/* rgb */ color: rgb(49, 123, 174);
/* oklch */ color: oklch(56.0% 0.107 242.4);
Tailwind
colors: {
  custom: {
    50: '#79a1c6',
    500: '#317bae',
    950: '#000000',
  },
}
SCSS
$custom: #317bae;
$custom-light: #79a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#317bae",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 174
  },
  "hsl": {
    "h": 204.48,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.10736,
    "h": 242.4
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#317BAE
secondary
#C49677
accent
#8648DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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