#317BB6#317BB6

#317BB6 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.5% C 0.117 H 246.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317BB6
RGBrgb(49, 123, 182)
HSLhsl(207, 58%, 45%)
HSVhsv(207, 73%, 71%)
CMYKcmyk(73.1%, 32.4%, 0%, 28.6%)
CIE-LABlab(49.73, -2.78, -37.69)
CIE-LCHlch(49.73, 37.79, 265.79°)
OKLaboklab(56.47% -0.0472 -0.1068)
OKLCHoklch(56.47% 0.117 246.1)
XYZxyz(16.7899, 18.1944, 46.8739)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB6 #B66C31
analogous
#31B6AF #317BB6 #3138B6
triadic
#317BB6 #B6317B #7BB631
tetradic
#317BB6 #AF31B6 #B66C31 #38B631
square
#317BB6 #AF31B6 #B66C31 #38B631
split-complementary
#317BB6 #B63138 #B6AF31
monochromatic
#173A56 #245A86 #317BB6 #5399D1 #84B6DE

Accessibility & contrast

On white

4.53
#317BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#317BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BB6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BB6#FFFFFF#000000##000000
##317BB61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB9
Deuteranopia (green-blind)
#4D71B5
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317bb6;
/* rgb */ color: rgb(49, 123, 182);
/* oklch */ color: oklch(56.5% 0.117 246.1);
Tailwind
colors: {
  custom: {
    50: '#7aa0cc',
    500: '#317bb6',
    950: '#000000',
  },
}
SCSS
$custom: #317bb6;
$custom-light: #7aa0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb6",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 182
  },
  "hsl": {
    "h": 206.617,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.11682,
    "h": 246.1
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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