#317BB3#317BB3

#317BB3 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.113 H 244.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317BB3
RGBrgb(49, 123, 179)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 73%, 70%)
CMYKcmyk(72.6%, 31.3%, 0%, 29.8%)
CIE-LABlab(49.58, -3.86, -36.19)
CIE-LCHlch(49.58, 36.39, 263.92°)
OKLaboklab(56.3% -0.0481 -0.1025)
OKLCHoklch(56.3% 0.113 244.8)
XYZxyz(16.4831, 18.0717, 45.2586)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB3 #B36931
analogous
#31B3AA #317BB3 #313AB3
triadic
#317BB3 #B3317B #7BB331
tetradic
#317BB3 #AA31B3 #B36931 #3AB331
square
#317BB3 #AA31B3 #B36931 #3AB331
split-complementary
#317BB3 #B3313A #B3AA31
monochromatic
#173953 #245A83 #317BB3 #5299D0 #82B6DD

Accessibility & contrast

On white

4.55
#317BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#317BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BB3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BB3#FFFFFF#000000##000000
##317BB31.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB5
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317bb3;
/* rgb */ color: rgb(49, 123, 179);
/* oklch */ color: oklch(56.3% 0.113 244.8);
Tailwind
colors: {
  custom: {
    50: '#7aa0ca',
    500: '#317bb3',
    950: '#000000',
  },
}
SCSS
$custom: #317bb3;
$custom-light: #7aa0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb3",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 179
  },
  "hsl": {
    "h": 205.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.11322,
    "h": 244.8
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#317BB3
secondary
#C69B7A
accent
#8948E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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