#317498#317498

#317498 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.2% C 0.088 H 235.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#317498
RGBrgb(49, 116, 152)
HSLhsl(201, 51%, 39%)
HSVhsv(201, 68%, 60%)
CMYKcmyk(67.8%, 23.7%, 0%, 40.4%)
CIE-LABlab(46.19, -9.28, -25.72)
CIE-LCHlch(46.19, 27.34, 250.16°)
OKLaboklab(53.2% -0.0499 -0.0722)
OKLCHoklch(53.2% 0.088 235.3)
XYZxyz(13.1773, 15.4094, 31.9795)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317498 #985531
analogous
#319889 #317498 #314198
triadic
#317498 #983174 #749831
tetradic
#317498 #893198 #985531 #419831
square
#317498 #893198 #985531 #419831
split-complementary
#317498 #983141 #988931
monochromatic
#132D3B #22516A #317498 #4496C3 #72B0D2

Accessibility & contrast

On white

5.14
#317498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#317498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317498
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317498#FFFFFF#000000##FFFFFF
##3174981.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317498;
/* rgb */ color: rgb(49, 116, 152);
/* oklch */ color: oklch(53.2% 0.088 235.3);
Tailwind
colors: {
  custom: {
    50: '#759cb6',
    500: '#317498',
    950: '#000000',
  },
}
SCSS
$custom: #317498;
$custom-light: #759cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#317498",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 200.971,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.532,
    "c": 0.08779,
    "h": 235.3
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#317498
secondary
#B9876B
accent
#7F4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317498

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

Preview Lab → · Contrast checker → · Palette generator →

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