#317BB5#317BB5

#317BB5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.116 H 245.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#317BB5
RGBrgb(49, 123, 181)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 73%, 71%)
CMYKcmyk(72.9%, 32%, 0%, 29%)
CIE-LABlab(49.68, -3.14, -37.19)
CIE-LCHlch(49.68, 37.32, 265.18°)
OKLaboklab(56.41% -0.0475 -0.1054)
OKLCHoklch(56.41% 0.116 245.7)
XYZxyz(16.6869, 18.1532, 46.3316)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB5 #B56B31
analogous
#31B5AD #317BB5 #3139B5
triadic
#317BB5 #B5317B #7BB531
tetradic
#317BB5 #AD31B5 #B56B31 #39B531
square
#317BB5 #AD31B5 #B56B31 #39B531
split-complementary
#317BB5 #B53139 #B5AD31
monochromatic
#173A55 #245A85 #317BB5 #5399D0 #83B6DD

Accessibility & contrast

On white

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

On black

4.63
#317BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BB5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BB5#FFFFFF#000000##000000
##317BB51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB8
Deuteranopia (green-blind)
#4E71B4
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317bb5;
/* rgb */ color: rgb(49, 123, 181);
/* oklch */ color: oklch(56.4% 0.116 245.7);
Tailwind
colors: {
  custom: {
    50: '#7aa0cb',
    500: '#317bb5',
    950: '#000000',
  },
}
SCSS
$custom: #317bb5;
$custom-light: #7aa0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb5",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 206.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.11562,
    "h": 245.7
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#317BB5
secondary
#C79C7B
accent
#8B47E1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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