#317AB5#317AB5

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

Color values

HEX#317AB5
RGBrgb(49, 122, 181)
HSLhsl(207, 57%, 45%)
HSVhsv(207, 73%, 71%)
CMYKcmyk(72.9%, 32.6%, 0%, 29%)
CIE-LABlab(49.38, -2.54, -37.66)
CIE-LCHlch(49.38, 37.74, 266.14°)
OKLaboklab(56.18% -0.0466 -0.1068)
OKLCHoklch(56.18% 0.116 246.4)
XYZxyz(16.5635, 17.9064, 46.2904)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB5 #B56C31
analogous
#31B5AE #317AB5 #3138B5
triadic
#317AB5 #B5317A #7AB531
tetradic
#317AB5 #AE31B5 #B56C31 #38B531
square
#317AB5 #AE31B5 #B56C31 #38B531
split-complementary
#317AB5 #B53138 #B5AE31
monochromatic
#173955 #245A85 #317AB5 #5398D0 #83B5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317AB5#FFFFFF#000000##000000
##317AB51.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)
#5F7CB8
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ab5;
/* rgb */ color: rgb(49, 122, 181);
/* oklch */ color: oklch(56.2% 0.116 246.4);
Tailwind
colors: {
  custom: {
    50: '#7aa0cb',
    500: '#317ab5',
    950: '#000000',
  },
}
SCSS
$custom: #317ab5;
$custom-light: #7aa0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab5",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 181
  },
  "hsl": {
    "h": 206.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.11648,
    "h": 246.4
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#317AB5
secondary
#C79D7B
accent
#8C47E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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