#317BBC#317BBC

#317BBC is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.124 H 248.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#317BBC
RGBrgb(49, 123, 188)
HSLhsl(208, 59%, 46%)
HSVhsv(208, 74%, 74%)
CMYKcmyk(73.9%, 34.6%, 0%, 26.3%)
CIE-LABlab(50.03, -0.60, -40.66)
CIE-LCHlch(50.03, 40.67, 269.15°)
OKLaboklab(56.81% -0.0455 -0.1155)
OKLCHoklch(56.81% 0.124 248.5)
XYZxyz(17.4232, 18.4477, 50.2097)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BBC #BC7231
analogous
#31BCB8 #317BBC #3135BC
triadic
#317BBC #BC317B #7BBC31
tetradic
#317BBC #B831BC #BC7231 #35BC31
square
#317BBC #B831BC #BC7231 #35BC31
split-complementary
#317BBC #BC3135 #BCB831
monochromatic
#183B5B #245B8B #317BBC #5799D3 #88B7E0

Accessibility & contrast

On white

4.48
#317BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#317BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BBC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BBC#FFFFFF#000000##000000
##317BBC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317bbc;
/* rgb */ color: rgb(49, 123, 188);
/* oklch */ color: oklch(56.8% 0.124 248.5);
Tailwind
colors: {
  custom: {
    50: '#7ba0d0',
    500: '#317bbc',
    950: '#000000',
  },
}
SCSS
$custom: #317bbc;
$custom-light: #7ba0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#317bbc",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 208.058,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.12417,
    "h": 248.5
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#317BBC
secondary
#CAA27F
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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