#317E9F#317E9F

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

Color values

HEX#317E9F
RGBrgb(49, 126, 159)
HSLhsl(198, 53%, 41%)
HSVhsv(198, 69%, 62%)
CMYKcmyk(69.2%, 20.8%, 0%, 37.6%)
CIE-LABlab(49.59, -12.61, -24.56)
CIE-LCHlch(49.59, 27.61, 242.82°)
OKLaboklab(56.01% -0.0581 -0.0688)
OKLCHoklch(56.01% 0.09 229.8)
XYZxyz(14.9830, 18.0762, 35.4936)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E9F #9F5231
analogous
#319F89 #317E9F #31479F
triadic
#317E9F #9F317E #7E9F31
tetradic
#317E9F #89319F #9F5231 #479F31
square
#317E9F #89319F #9F5231 #479F31
split-complementary
#317E9F #9F3147 #9F8931
monochromatic
#143441 #235970 #317E9F #47A0C6 #76B8D5

Accessibility & contrast

On white

4.55
#317E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E9F#FFFFFF#000000##000000
##317E9F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7CA1
Deuteranopia (green-blind)
#5E719F
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317e9f;
/* rgb */ color: rgb(49, 126, 159);
/* oklch */ color: oklch(56.0% 0.090 229.8);
Tailwind
colors: {
  custom: {
    50: '#77a3bb',
    500: '#317e9f',
    950: '#000000',
  },
}
SCSS
$custom: #317e9f;
$custom-light: #77a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#317e9f",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 159
  },
  "hsl": {
    "h": 198,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.09004,
    "h": 229.8
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#317E9F
secondary
#BD866F
accent
#774CDC
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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