#31759C#31759C

#31759C is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.6% C 0.091 H 237.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#31759C
RGBrgb(49, 117, 156)
HSLhsl(202, 52%, 40%)
HSVhsv(202, 69%, 61%)
CMYKcmyk(68.6%, 25%, 0%, 38.8%)
CIE-LABlab(46.68, -8.47, -27.32)
CIE-LCHlch(46.68, 28.60, 252.77°)
OKLaboklab(53.65% -0.0496 -0.0768)
OKLCHoklch(53.65% 0.091 237.2)
XYZxyz(13.6263, 15.7744, 33.7727)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31759C #9C5831
analogous
#319C8D #31759C #31409C
triadic
#31759C #9C3175 #759C31
tetradic
#31759C #8D319C #9C5831 #409C31
square
#31759C #8D319C #9C5831 #409C31
split-complementary
#31759C #9C3140 #9C8D31
monochromatic
#142F3F #22526D #31759C #4596C5 #74B1D3

Accessibility & contrast

On white

5.05
#31759C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#31759C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31759C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31759C#FFFFFF#000000##FFFFFF
##31759C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63759E
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#007F82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #31759c;
/* rgb */ color: rgb(49, 117, 156);
/* oklch */ color: oklch(53.6% 0.091 237.2);
Tailwind
colors: {
  custom: {
    50: '#769cb9',
    500: '#31759c',
    950: '#000000',
  },
}
SCSS
$custom: #31759c;
$custom-light: #769cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31759c",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 156
  },
  "hsl": {
    "h": 201.869,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.09142,
    "h": 237.2
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#31759C
secondary
#BB8A6D
accent
#804CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31759C

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

Preview Lab → · Contrast checker → · Palette generator →

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