#317EBB#317EBB

#317EBB is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.120 H 246.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#317EBB
RGBrgb(49, 126, 187)
HSLhsl(207, 58%, 46%)
HSVhsv(207, 74%, 73%)
CMYKcmyk(73.8%, 32.6%, 0%, 26.7%)
CIE-LABlab(50.87, -2.76, -38.76)
CIE-LCHlch(50.87, 38.86, 265.93°)
OKLaboklab(57.45% -0.0487 -0.1099)
OKLCHoklch(57.45% 0.12 246.1)
XYZxyz(17.6937, 19.1605, 49.7699)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EBB #BB6E31
analogous
#31BBB3 #317EBB #3139BB
triadic
#317EBB #BB317E #7EBB31
tetradic
#317EBB #B331BB #BB6E31 #39BB31
square
#317EBB #B331BB #BB6E31 #39BB31
split-complementary
#317EBB #BB3139 #BBB331
monochromatic
#183D5A #245D8B #317EBB #569CD3 #87B8E0

Accessibility & contrast

On white

4.35
#317EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#317EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EBB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EBB#FFFFFF#000000##000000
##317EBB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#4F73BA
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317ebb;
/* rgb */ color: rgb(49, 126, 187);
/* oklch */ color: oklch(57.4% 0.120 246.1);
Tailwind
colors: {
  custom: {
    50: '#7ba3d0',
    500: '#317ebb',
    950: '#000000',
  },
}
SCSS
$custom: #317ebb;
$custom-light: #7ba3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#317ebb",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 187
  },
  "hsl": {
    "h": 206.522,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.12023,
    "h": 246.1
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#317EBB
secondary
#C9A07F
accent
#8B46E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #317EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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