#317CB2#317CB2

#317CB2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.111 H 243.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#317CB2
RGBrgb(49, 124, 178)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 72%, 70%)
CMYKcmyk(72.5%, 30.3%, 0%, 30.2%)
CIE-LABlab(49.83, -4.81, -35.21)
CIE-LCHlch(49.83, 35.54, 262.23°)
OKLaboklab(56.48% -0.0494 -0.0996)
OKLCHoklch(56.48% 0.111 243.6)
XYZxyz(16.5071, 18.2808, 44.7694)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CB2 #B26731
analogous
#31B2A7 #317CB2 #313CB2
triadic
#317CB2 #B2317C #7CB231
tetradic
#317CB2 #A731B2 #B26731 #3CB231
square
#317CB2 #A731B2 #B26731 #3CB231
split-complementary
#317CB2 #B2313C #B2A731
monochromatic
#173952 #245B82 #317CB2 #519ACF #81B6DC

Accessibility & contrast

On white

4.51
#317CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#317CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CB2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CB2#FFFFFF#000000##000000
##317CB21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317cb2;
/* rgb */ color: rgb(49, 124, 178);
/* oklch */ color: oklch(56.5% 0.111 243.6);
Tailwind
colors: {
  custom: {
    50: '#7aa1c9',
    500: '#317cb2',
    950: '#000000',
  },
}
SCSS
$custom: #317cb2;
$custom-light: #7aa1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#317cb2",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 205.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.11121,
    "h": 243.6
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#317CB2
secondary
#C59979
accent
#8748E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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