#317698#317698

#317698 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.7% C 0.087 H 233.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#317698
RGBrgb(49, 118, 152)
HSLhsl(200, 51%, 39%)
HSVhsv(200, 68%, 60%)
CMYKcmyk(67.8%, 22.4%, 0%, 40.4%)
CIE-LABlab(46.81, -10.44, -24.76)
CIE-LCHlch(46.81, 26.87, 247.14°)
OKLaboklab(53.69% -0.0521 -0.0694)
OKLCHoklch(53.69% 0.087 233.1)
XYZxyz(13.4103, 15.8754, 32.0572)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317698 #985331
analogous
#319887 #317698 #314298
triadic
#317698 #983176 #769831
tetradic
#317698 #873198 #985331 #429831
square
#317698 #873198 #985331 #429831
split-complementary
#317698 #983142 #988731
monochromatic
#132E3B #22526A #317698 #4499C3 #72B2D2

Accessibility & contrast

On white

5.03
#317698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#317698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317698
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317698#FFFFFF#000000##FFFFFF
##3176981.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65759A
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317698;
/* rgb */ color: rgb(49, 118, 152);
/* oklch */ color: oklch(53.7% 0.087 233.1);
Tailwind
colors: {
  custom: {
    50: '#759db6',
    500: '#317698',
    950: '#000000',
  },
}
SCSS
$custom: #317698;
$custom-light: #759db6;
$custom-dark: #000000;
JSON
{
  "hex": "#317698",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 152
  },
  "hsl": {
    "h": 199.806,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.0868,
    "h": 233.1
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#317698
secondary
#B9856B
accent
#7C4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317698

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

Preview Lab → · Contrast checker → · Palette generator →

#317698 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva