#317BBA#317BBA

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

Color values

HEX#317BBA
RGBrgb(49, 123, 186)
HSLhsl(208, 58%, 46%)
HSVhsv(208, 74%, 73%)
CMYKcmyk(73.7%, 33.9%, 0%, 27.1%)
CIE-LABlab(49.93, -1.33, -39.67)
CIE-LCHlch(49.93, 39.70, 268.08°)
OKLaboklab(56.69% -0.0461 -0.1126)
OKLCHoklch(56.69% 0.122 247.8)
XYZxyz(17.2091, 18.3621, 49.0821)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BBA #BA7031
analogous
#31BAB4 #317BBA #3136BA
triadic
#317BBA #BA317B #7BBA31
tetradic
#317BBA #B431BA #BA7031 #36BA31
square
#317BBA #B431BA #BA7031 #36BA31
split-complementary
#317BBA #BA3136 #BAB431
monochromatic
#173B59 #245B8A #317BBA #5699D2 #86B6DF

Accessibility & contrast

On white

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

On black

4.67
#317BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BBA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BBA#FFFFFF#000000##000000
##317BBA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317bba;
/* rgb */ color: rgb(49, 123, 186);
/* oklch */ color: oklch(56.7% 0.122 247.8);
Tailwind
colors: {
  custom: {
    50: '#7ba0cf',
    500: '#317bba',
    950: '#000000',
  },
}
SCSS
$custom: #317bba;
$custom-light: #7ba0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#317bba",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 207.591,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.1217,
    "h": 247.8
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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