#317CB8#317CB8

#317CB8 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.8% C 0.118 H 246.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#317CB8
RGBrgb(49, 124, 184)
HSLhsl(207, 58%, 46%)
HSVhsv(207, 73%, 72%)
CMYKcmyk(73.4%, 32.6%, 0%, 27.8%)
CIE-LABlab(50.13, -2.65, -38.21)
CIE-LCHlch(50.13, 38.30, 266.03°)
OKLaboklab(56.81% -0.0476 -0.1084)
OKLCHoklch(56.81% 0.118 246.3)
XYZxyz(17.1227, 18.5270, 48.0118)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CB8 #B86D31
analogous
#31B8B0 #317CB8 #3138B8
triadic
#317CB8 #B8317C #7CB831
tetradic
#317CB8 #B031B8 #B86D31 #38B831
square
#317CB8 #B031B8 #B86D31 #38B831
split-complementary
#317CB8 #B83138 #B8B031
monochromatic
#173B57 #245B88 #317CB8 #559AD2 #85B7DE

Accessibility & contrast

On white

4.46
#317CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#317CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CB8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CB8#FFFFFF#000000##000000
##317CB81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBB
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317cb8;
/* rgb */ color: rgb(49, 124, 184);
/* oklch */ color: oklch(56.8% 0.118 246.3);
Tailwind
colors: {
  custom: {
    50: '#7ba1cd',
    500: '#317cb8',
    950: '#000000',
  },
}
SCSS
$custom: #317cb8;
$custom-light: #7ba1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#317cb8",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 184
  },
  "hsl": {
    "h": 206.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.11836,
    "h": 246.3
  },
  "luminance": 0.18529
}

Semantic roles & 50–950 ramp

primary
#317CB8
secondary
#C89E7D
accent
#8B47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #317CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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