#317AB4#317AB4

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

Color values

HEX#317AB4
RGBrgb(49, 122, 180)
HSLhsl(207, 57%, 45%)
HSVhsv(207, 73%, 71%)
CMYKcmyk(72.8%, 32.2%, 0%, 29.4%)
CIE-LABlab(49.33, -2.90, -37.16)
CIE-LCHlch(49.33, 37.27, 265.54°)
OKLaboklab(56.12% -0.0469 -0.1053)
OKLCHoklch(56.12% 0.115 246)
XYZxyz(16.4612, 17.8655, 45.7520)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB4 #B46B31
analogous
#31B4AD #317AB4 #3139B4
triadic
#317AB4 #B4317A #7AB431
tetradic
#317AB4 #AD31B4 #B46B31 #39B431
square
#317AB4 #AD31B4 #B46B31 #39B431
split-complementary
#317AB4 #B43139 #B4AD31
monochromatic
#173954 #245984 #317AB4 #5298D0 #82B5DD

Accessibility & contrast

On white

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

On black

4.57
#317AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317AB4#FFFFFF#000000##FFFFFF
##317AB41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607CB7
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ab4;
/* rgb */ color: rgb(49, 122, 180);
/* oklch */ color: oklch(56.1% 0.115 246.0);
Tailwind
colors: {
  custom: {
    50: '#7aa0ca',
    500: '#317ab4',
    950: '#000000',
  },
}
SCSS
$custom: #317ab4;
$custom-light: #7aa0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab4",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 180
  },
  "hsl": {
    "h": 206.565,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.11527,
    "h": 246
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#317AB4
secondary
#C69C7B
accent
#8B47E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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