#317CB6#317CB6

#317CB6 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.7% C 0.116 H 245.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#317CB6
RGBrgb(49, 124, 182)
HSLhsl(206, 58%, 45%)
HSVhsv(206, 73%, 71%)
CMYKcmyk(73.1%, 31.9%, 0%, 28.6%)
CIE-LABlab(50.03, -3.37, -37.21)
CIE-LCHlch(50.03, 37.37, 264.82°)
OKLaboklab(56.7% -0.0482 -0.1055)
OKLCHoklch(56.7% 0.116 245.4)
XYZxyz(16.9145, 18.4438, 46.9155)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CB6 #B66B31
analogous
#31B6AD #317CB6 #313AB6
triadic
#317CB6 #B6317C #7CB631
tetradic
#317CB6 #AD31B6 #B66B31 #3AB631
square
#317CB6 #AD31B6 #B66B31 #3AB631
split-complementary
#317CB6 #B6313A #B6AD31
monochromatic
#173A56 #245B86 #317CB6 #539AD1 #84B6DE

Accessibility & contrast

On white

4.48
#317CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#317CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CB6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CB6#FFFFFF#000000##000000
##317CB61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB9
Deuteranopia (green-blind)
#4F71B5
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317cb6;
/* rgb */ color: rgb(49, 124, 182);
/* oklch */ color: oklch(56.7% 0.116 245.4);
Tailwind
colors: {
  custom: {
    50: '#7aa1cc',
    500: '#317cb6',
    950: '#000000',
  },
}
SCSS
$custom: #317cb6;
$custom-light: #7aa1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#317cb6",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 182
  },
  "hsl": {
    "h": 206.165,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.11596,
    "h": 245.4
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#317CB6
secondary
#C79D7C
accent
#8A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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