#317FBA#317FBA

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

Color values

HEX#317FBA
RGBrgb(49, 127, 186)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(73.7%, 31.7%, 0%, 27.1%)
CIE-LABlab(51.12, -3.71, -37.80)
CIE-LCHlch(51.12, 37.98, 264.39°)
OKLaboklab(57.63% -0.0499 -0.1071)
OKLCHoklch(57.63% 0.118 245)
XYZxyz(17.7155, 19.3749, 49.2509)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FBA #BA6C31
analogous
#31BAB0 #317FBA #313BBA
triadic
#317FBA #BA317F #7FBA31
tetradic
#317FBA #B031BA #BA6C31 #3BBA31
square
#317FBA #B031BA #BA6C31 #3BBA31
split-complementary
#317FBA #BA313B #BAB031
monochromatic
#173D59 #245E8A #317FBA #569DD2 #86B9DF

Accessibility & contrast

On white

4.31
#317FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317FBA#FFFFFF#000000##000000
##317FBA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317fba;
/* rgb */ color: rgb(49, 127, 186);
/* oklch */ color: oklch(57.6% 0.118 245.0);
Tailwind
colors: {
  custom: {
    50: '#7ba3cf',
    500: '#317fba',
    950: '#000000',
  },
}
SCSS
$custom: #317fba;
$custom-light: #7ba3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#317fba",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 205.839,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57629,
    "c": 0.11817,
    "h": 245
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#317FBA
secondary
#C99E7E
accent
#8946E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #317FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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