#317CB3#317CB3

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

Color values

HEX#317CB3
RGBrgb(49, 124, 179)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 73%, 70%)
CMYKcmyk(72.6%, 30.7%, 0%, 29.8%)
CIE-LABlab(49.88, -4.45, -35.71)
CIE-LCHlch(49.88, 35.99, 262.90°)
OKLaboklab(56.54% -0.0491 -0.1011)
OKLCHoklch(56.54% 0.112 244.1)
XYZxyz(16.6078, 18.3211, 45.3001)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CB3 #B36831
analogous
#31B3A9 #317CB3 #313BB3
triadic
#317CB3 #B3317C #7CB331
tetradic
#317CB3 #A931B3 #B36831 #3BB331
square
#317CB3 #A931B3 #B36831 #3BB331
split-complementary
#317CB3 #B3313B #B3A931
monochromatic
#173953 #245B83 #317CB3 #529AD0 #82B6DD

Accessibility & contrast

On white

4.50
#317CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317CB3#FFFFFF#000000##000000
##317CB31.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317cb3;
/* rgb */ color: rgb(49, 124, 179);
/* oklch */ color: oklch(56.5% 0.112 244.1);
Tailwind
colors: {
  custom: {
    50: '#7aa1ca',
    500: '#317cb3',
    950: '#000000',
  },
}
SCSS
$custom: #317cb3;
$custom-light: #7aa1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317cb3",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 205.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.1124,
    "h": 244.1
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#317CB3
secondary
#C69A7A
accent
#8848E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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