#317FBB#317FBB

#317FBB is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.119 H 245.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#317FBB
RGBrgb(49, 127, 187)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(73.8%, 32.1%, 0%, 26.7%)
CIE-LABlab(51.17, -3.35, -38.29)
CIE-LCHlch(51.17, 38.44, 265.00°)
OKLaboklab(57.68% -0.0496 -0.1086)
OKLCHoklch(57.68% 0.119 245.4)
XYZxyz(17.8222, 19.4175, 49.8127)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FBB #BB6D31
analogous
#31BBB2 #317FBB #313ABB
triadic
#317FBB #BB317F #7FBB31
tetradic
#317FBB #B231BB #BB6D31 #3ABB31
square
#317FBB #B231BB #BB6D31 #3ABB31
split-complementary
#317FBB #BB313A #BBB231
monochromatic
#183D5A #245E8B #317FBB #569DD3 #87B9E0

Accessibility & contrast

On white

4.30
#317FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#317FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FBB#FFFFFF#000000##000000
##317FBB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#008E94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317fbb;
/* rgb */ color: rgb(49, 127, 187);
/* oklch */ color: oklch(57.7% 0.119 245.4);
Tailwind
colors: {
  custom: {
    50: '#7ba3d0',
    500: '#317fbb',
    950: '#000000',
  },
}
SCSS
$custom: #317fbb;
$custom-light: #7ba3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#317fbb",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 206.087,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.11936,
    "h": 245.4
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#317FBB
secondary
#C99F7F
accent
#8A46E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #317FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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