#317BAF#317BAF

#317BAF is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.1% C 0.109 H 242.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#317BAF
RGBrgb(49, 123, 175)
HSLhsl(205, 56%, 44%)
HSVhsv(205, 72%, 69%)
CMYKcmyk(72%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.39, -5.29, -34.17)
CIE-LCHlch(49.39, 34.58, 261.20°)
OKLaboklab(56.08% -0.0494 -0.0966)
OKLCHoklch(56.08% 0.109 242.9)
XYZxyz(16.0845, 17.9122, 43.1588)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BAF #AF6531
analogous
#31AFA4 #317BAF #313CAF
triadic
#317BAF #AF317B #7BAF31
tetradic
#317BAF #A431AF #AF6531 #3CAF31
square
#317BAF #A431AF #AF6531 #3CAF31
split-complementary
#317BAF #AF313C #AFA431
monochromatic
#16384F #24597F #317BAF #4F9ACE #7FB5DB

Accessibility & contrast

On white

4.58
#317BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #317BAF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BAF#FFFFFF#000000##000000
##317BAF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317baf;
/* rgb */ color: rgb(49, 123, 175);
/* oklch */ color: oklch(56.1% 0.109 242.9);
Tailwind
colors: {
  custom: {
    50: '#79a1c7',
    500: '#317baf',
    950: '#000000',
  },
}
SCSS
$custom: #317baf;
$custom-light: #79a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#317baf",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 204.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.10852,
    "h": 242.9
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#317BAF
secondary
#C49778
accent
#8748E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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