#317CB5#317CB5

#317CB5 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.115 H 245.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317CB5
RGBrgb(49, 124, 181)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 73%, 71%)
CMYKcmyk(72.9%, 31.5%, 0%, 29%)
CIE-LABlab(49.98, -3.73, -36.72)
CIE-LCHlch(49.98, 36.90, 264.20°)
OKLaboklab(56.65% -0.0485 -0.104)
OKLCHoklch(56.65% 0.115 245)
XYZxyz(16.8116, 18.4026, 46.3731)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CB5 #B56A31
analogous
#31B5AC #317CB5 #313AB5
triadic
#317CB5 #B5317C #7CB531
tetradic
#317CB5 #AC31B5 #B56A31 #3AB531
square
#317CB5 #AC31B5 #B56A31 #3AB531
split-complementary
#317CB5 #B5313A #B5AC31
monochromatic
#173A55 #245B85 #317CB5 #539AD0 #83B6DD

Accessibility & contrast

On white

4.49
#317CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#317CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CB5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CB5#FFFFFF#000000##000000
##317CB51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB7
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317cb5;
/* rgb */ color: rgb(49, 124, 181);
/* oklch */ color: oklch(56.6% 0.115 245.0);
Tailwind
colors: {
  custom: {
    50: '#7aa1cb',
    500: '#317cb5',
    950: '#000000',
  },
}
SCSS
$custom: #317cb5;
$custom-light: #7aa1cb;
$custom-dark: #000000;
JSON
{
  "hex": "#317cb5",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 205.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.11476,
    "h": 245
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#317CB5
secondary
#C79C7B
accent
#8947E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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