#317FB4#317FB4

#317FB4 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.111 H 242.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#317FB4
RGBrgb(49, 127, 180)
HSLhsl(204, 57%, 45%)
HSVhsv(204, 73%, 71%)
CMYKcmyk(72.8%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.83, -5.86, -34.80)
CIE-LCHlch(50.83, 35.29, 260.44°)
OKLaboklab(57.3% -0.0518 -0.0984)
OKLCHoklch(57.3% 0.111 242.2)
XYZxyz(17.0910, 19.1251, 45.9619)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB4 #B46631
analogous
#31B4A8 #317FB4 #313DB4
triadic
#317FB4 #B4317F #7FB431
tetradic
#317FB4 #A831B4 #B46631 #3DB431
square
#317FB4 #A831B4 #B46631 #3DB431
split-complementary
#317FB4 #B4313D #B4A831
monochromatic
#173B54 #245D84 #317FB4 #529DD0 #82B8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317FB4#FFFFFF#000000##000000
##317FB41.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)
#6780B6
Deuteranopia (green-blind)
#5573B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317fb4;
/* rgb */ color: rgb(49, 127, 180);
/* oklch */ color: oklch(57.3% 0.111 242.2);
Tailwind
colors: {
  custom: {
    50: '#7aa3ca',
    500: '#317fb4',
    950: '#000000',
  },
}
SCSS
$custom: #317fb4;
$custom-light: #7aa3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb4",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 204.275,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.11118,
    "h": 242.2
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#317FB4
secondary
#C6997B
accent
#8547E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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