#317BBB#317BBB

#317BBB is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.7% C 0.123 H 248.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317BBB
RGBrgb(49, 123, 187)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 74%, 73%)
CMYKcmyk(73.8%, 34.2%, 0%, 26.7%)
CIE-LABlab(49.98, -0.96, -40.17)
CIE-LCHlch(49.98, 40.18, 268.62°)
OKLaboklab(56.75% -0.0458 -0.1141)
OKLCHoklch(56.75% 0.123 248.1)
XYZxyz(17.3158, 18.4048, 49.6440)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BBB #BB7131
analogous
#31BBB6 #317BBB #3136BB
triadic
#317BBB #BB317B #7BBB31
tetradic
#317BBB #B631BB #BB7131 #36BB31
square
#317BBB #B631BB #BB7131 #36BB31
split-complementary
#317BBB #BB3136 #BBB631
monochromatic
#183B5A #245B8B #317BBB #5699D3 #87B6E0

Accessibility & contrast

On white

4.49
#317BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#317BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BBB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BBB#FFFFFF#000000##000000
##317BBB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317bbb;
/* rgb */ color: rgb(49, 123, 187);
/* oklch */ color: oklch(56.7% 0.123 248.1);
Tailwind
colors: {
  custom: {
    50: '#7ba0d0',
    500: '#317bbb',
    950: '#000000',
  },
}
SCSS
$custom: #317bbb;
$custom-light: #7ba0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#317bbb",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 207.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56747,
    "c": 0.12294,
    "h": 248.1
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#317BBB
secondary
#C9A17F
accent
#8E46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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