#317BA6#317BA6

#317BA6 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.6% C 0.098 H 237.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#317BA6
RGBrgb(49, 123, 166)
HSLhsl(202, 54%, 42%)
HSVhsv(202, 70%, 65%)
CMYKcmyk(70.5%, 25.9%, 0%, 34.9%)
CIE-LABlab(48.97, -8.47, -29.60)
CIE-LCHlch(48.97, 30.79, 254.03°)
OKLaboklab(55.62% -0.0524 -0.0834)
OKLCHoklch(55.62% 0.098 237.9)
XYZxyz(15.2298, 17.5704, 38.6578)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BA6 #A65C31
analogous
#31A697 #317BA6 #3141A6
triadic
#317BA6 #A6317B #7BA631
tetradic
#317BA6 #9731A6 #A65C31 #41A631
square
#317BA6 #9731A6 #A65C31 #41A631
split-complementary
#317BA6 #A63141 #A69731
monochromatic
#153547 #235877 #317BA6 #4A9BCA #7AB5D8

Accessibility & contrast

On white

4.65
#317BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#317BA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317BA6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BA6#FFFFFF#000000##FFFFFF
##317BA61.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA8
Deuteranopia (green-blind)
#576FA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317ba6;
/* rgb */ color: rgb(49, 123, 166);
/* oklch */ color: oklch(55.6% 0.098 237.9);
Tailwind
colors: {
  custom: {
    50: '#78a1c0',
    500: '#317ba6',
    950: '#000000',
  },
}
SCSS
$custom: #317ba6;
$custom-light: #78a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ba6",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 202.051,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.09845,
    "h": 237.9
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#317BA6
secondary
#C08F73
accent
#804ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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