#317BB9#317BB9

#317BB9 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.6% C 0.120 H 247.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#317BB9
RGBrgb(49, 123, 185)
HSLhsl(207, 58%, 46%)
HSVhsv(207, 74%, 73%)
CMYKcmyk(73.5%, 33.5%, 0%, 27.5%)
CIE-LABlab(49.88, -1.69, -39.18)
CIE-LCHlch(49.88, 39.21, 267.53°)
OKLaboklab(56.63% -0.0464 -0.1112)
OKLCHoklch(56.63% 0.12 247.4)
XYZxyz(17.1032, 18.3197, 48.5242)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB9 #B96F31
analogous
#31B9B3 #317BB9 #3137B9
triadic
#317BB9 #B9317B #7BB931
tetradic
#317BB9 #B331B9 #B96F31 #37B931
square
#317BB9 #B331B9 #B96F31 #37B931
split-complementary
#317BB9 #B93137 #B9B331
monochromatic
#173B58 #245B89 #317BB9 #5599D2 #86B6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317BB9#FFFFFF#000000##000000
##317BB91.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)
#5F7EBC
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317bb9;
/* rgb */ color: rgb(49, 123, 185);
/* oklch */ color: oklch(56.6% 0.120 247.4);
Tailwind
colors: {
  custom: {
    50: '#7ba0ce',
    500: '#317bb9',
    950: '#000000',
  },
}
SCSS
$custom: #317bb9;
$custom-light: #7ba0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb9",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 185
  },
  "hsl": {
    "h": 207.353,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.12048,
    "h": 247.4
  },
  "luminance": 0.18322
}

Semantic roles & 50–950 ramp

primary
#317BB9
secondary
#C8A07D
accent
#8D46E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #317BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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