#317CBA#317CBA

#317CBA is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.121 H 247.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317CBA
RGBrgb(49, 124, 186)
HSLhsl(207, 58%, 46%)
HSVhsv(207, 74%, 73%)
CMYKcmyk(73.7%, 33.3%, 0%, 27.1%)
CIE-LABlab(50.23, -1.93, -39.20)
CIE-LCHlch(50.23, 39.25, 267.19°)
OKLaboklab(56.92% -0.047 -0.1113)
OKLCHoklch(56.92% 0.121 247.1)
XYZxyz(17.3338, 18.6115, 49.1237)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CBA #BA6F31
analogous
#31BAB3 #317CBA #3137BA
triadic
#317CBA #BA317C #7CBA31
tetradic
#317CBA #B331BA #BA6F31 #37BA31
square
#317CBA #B331BA #BA6F31 #37BA31
split-complementary
#317CBA #BA3137 #BAB331
monochromatic
#173B59 #245C8A #317CBA #569AD2 #86B7DF

Accessibility & contrast

On white

4.45
#317CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#317CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CBA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CBA#FFFFFF#000000##000000
##317CBA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317cba;
/* rgb */ color: rgb(49, 124, 186);
/* oklch */ color: oklch(56.9% 0.121 247.1);
Tailwind
colors: {
  custom: {
    50: '#7ba1cf',
    500: '#317cba',
    950: '#000000',
  },
}
SCSS
$custom: #317cba;
$custom-light: #7ba1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#317cba",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 186
  },
  "hsl": {
    "h": 207.153,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.1208,
    "h": 247.1
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#317CBA
secondary
#C9A07E
accent
#8D46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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