#317BB8#317BB8

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

Color values

HEX#317BB8
RGBrgb(49, 123, 184)
HSLhsl(207, 58%, 46%)
HSVhsv(207, 73%, 72%)
CMYKcmyk(73.4%, 33.2%, 0%, 27.8%)
CIE-LABlab(49.83, -2.05, -38.68)
CIE-LCHlch(49.83, 38.74, 266.96°)
OKLaboklab(56.58% -0.0467 -0.1097)
OKLCHoklch(56.58% 0.119 247)
XYZxyz(16.9980, 18.2777, 47.9702)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB8 #B86E31
analogous
#31B8B1 #317BB8 #3137B8
triadic
#317BB8 #B8317B #7BB831
tetradic
#317BB8 #B131B8 #B86E31 #37B831
square
#317BB8 #B131B8 #B86E31 #37B831
split-complementary
#317BB8 #B83137 #B8B131
monochromatic
#173A57 #245B88 #317BB8 #5599D2 #85B6DE

Accessibility & contrast

On white

4.51
#317BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317BB8#FFFFFF#000000##000000
##317BB81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBB
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317bb8;
/* rgb */ color: rgb(49, 123, 184);
/* oklch */ color: oklch(56.6% 0.119 247.0);
Tailwind
colors: {
  custom: {
    50: '#7ba0cd',
    500: '#317bb8',
    950: '#000000',
  },
}
SCSS
$custom: #317bb8;
$custom-light: #7ba0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb8",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 184
  },
  "hsl": {
    "h": 207.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.11926,
    "h": 247
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#317BB8
secondary
#C89F7D
accent
#8C47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #317BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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