#31759F#31759F

#31759F is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.8% C 0.095 H 239.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#31759F
RGBrgb(49, 117, 159)
HSLhsl(203, 53%, 41%)
HSVhsv(203, 69%, 62%)
CMYKcmyk(69.2%, 26.4%, 0%, 37.6%)
CIE-LABlab(46.81, -7.42, -28.87)
CIE-LCHlch(46.81, 29.81, 255.58°)
OKLaboklab(53.8% -0.0485 -0.0813)
OKLCHoklch(53.8% 0.095 239.2)
XYZxyz(13.8835, 15.8773, 35.1271)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31759F #9F5B31
analogous
#319F92 #31759F #313E9F
triadic
#31759F #9F3175 #759F31
tetradic
#31759F #92319F #9F5B31 #3E9F31
square
#31759F #92319F #9F5B31 #3E9F31
split-complementary
#31759F #9F313E #9F9231
monochromatic
#143041 #235370 #31759F #4796C6 #76B0D5

Accessibility & contrast

On white

5.03
#31759F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#31759F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##31759F#FFFFFF#000000##FFFFFF
##31759F1.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)
#6275A1
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#008083
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #31759f;
/* rgb */ color: rgb(49, 117, 159);
/* oklch */ color: oklch(53.8% 0.095 239.2);
Tailwind
colors: {
  custom: {
    50: '#769cbb',
    500: '#31759f',
    950: '#000000',
  },
}
SCSS
$custom: #31759f;
$custom-light: #769cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#31759f",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 159
  },
  "hsl": {
    "h": 202.909,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53798,
    "c": 0.09468,
    "h": 239.2
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#31759F
secondary
#BD8D6F
accent
#834CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #31759F

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

Preview Lab → · Contrast checker → · Palette generator →

#31759F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva