#317EBA#317EBA

#317EBA is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.4% C 0.119 H 245.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317EBA
RGBrgb(49, 126, 186)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(73.7%, 32.3%, 0%, 27.1%)
CIE-LABlab(50.82, -3.12, -38.27)
CIE-LCHlch(50.82, 38.39, 265.34°)
OKLaboklab(57.39% -0.049 -0.1085)
OKLCHoklch(57.39% 0.119 245.7)
XYZxyz(17.5870, 19.1178, 49.2081)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EBA #BA6D31
analogous
#31BAB1 #317EBA #313ABA
triadic
#317EBA #BA317E #7EBA31
tetradic
#317EBA #B131BA #BA6D31 #3ABA31
square
#317EBA #B131BA #BA6D31 #3ABA31
split-complementary
#317EBA #BA313A #BAB131
monochromatic
#173C59 #245D8A #317EBA #569CD2 #86B8DF

Accessibility & contrast

On white

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

On black

4.82
#317EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EBA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EBA#FFFFFF#000000##000000
##317EBA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BD
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317eba;
/* rgb */ color: rgb(49, 126, 186);
/* oklch */ color: oklch(57.4% 0.119 245.7);
Tailwind
colors: {
  custom: {
    50: '#7ba3cf',
    500: '#317eba',
    950: '#000000',
  },
}
SCSS
$custom: #317eba;
$custom-light: #7ba3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#317eba",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 206.277,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.11904,
    "h": 245.7
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#317EBA
secondary
#C99F7E
accent
#8A46E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #317EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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