#317BB4#317BB4

#317BB4 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.114 H 245.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#317BB4
RGBrgb(49, 123, 180)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 73%, 71%)
CMYKcmyk(72.8%, 31.7%, 0%, 29.4%)
CIE-LABlab(49.63, -3.50, -36.69)
CIE-LCHlch(49.63, 36.85, 264.55°)
OKLaboklab(56.36% -0.0478 -0.1039)
OKLCHoklch(56.36% 0.114 245.3)
XYZxyz(16.5846, 18.1123, 45.7931)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BB4 #B46A31
analogous
#31B4AC #317BB4 #313AB4
triadic
#317BB4 #B4317B #7BB431
tetradic
#317BB4 #AC31B4 #B46A31 #3AB431
square
#317BB4 #AC31B4 #B46A31 #3AB431
split-complementary
#317BB4 #B4313A #B4AC31
monochromatic
#173954 #245A84 #317BB4 #5299D0 #82B6DD

Accessibility & contrast

On white

4.54
#317BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#317BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BB4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BB4#FFFFFF#000000##000000
##317BB41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#4F70B3
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317bb4;
/* rgb */ color: rgb(49, 123, 180);
/* oklch */ color: oklch(56.4% 0.114 245.3);
Tailwind
colors: {
  custom: {
    50: '#7aa0ca',
    500: '#317bb4',
    950: '#000000',
  },
}
SCSS
$custom: #317bb4;
$custom-light: #7aa0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317bb4",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 206.107,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56356,
    "c": 0.11441,
    "h": 245.3
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#317BB4
secondary
#C69B7B
accent
#8A47E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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