#31759B#31759B

#31759B is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.6% C 0.090 H 236.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#31759B
RGBrgb(49, 117, 155)
HSLhsl(202, 52%, 40%)
HSVhsv(202, 68%, 61%)
CMYKcmyk(68.4%, 24.5%, 0%, 39.2%)
CIE-LABlab(46.63, -8.82, -26.80)
CIE-LCHlch(46.63, 28.21, 251.78°)
OKLaboklab(53.6% -0.0499 -0.0753)
OKLCHoklch(53.6% 0.09 236.5)
XYZxyz(13.5420, 15.7407, 33.3286)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31759B #9B5731
analogous
#319B8C #31759B #31409B
triadic
#31759B #9B3175 #759B31
tetradic
#31759B #8C319B #9B5731 #409B31
square
#31759B #8C319B #9B5731 #409B31
split-complementary
#31759B #9B3140 #9B8C31
monochromatic
#142F3E #22526D #31759B #4597C4 #73B1D3

Accessibility & contrast

On white

5.06
#31759B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#31759B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31759B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31759B#FFFFFF#000000##FFFFFF
##31759B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63749D
Deuteranopia (green-blind)
#546A9A
Tritanopia (blue-blind)
#007F82
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #31759b;
/* rgb */ color: rgb(49, 117, 155);
/* oklch */ color: oklch(53.6% 0.090 236.5);
Tailwind
colors: {
  custom: {
    50: '#769cb8',
    500: '#31759b',
    950: '#000000',
  },
}
SCSS
$custom: #31759b;
$custom-light: #769cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31759b",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 155
  },
  "hsl": {
    "h": 201.509,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.09037,
    "h": 236.5
  },
  "luminance": 0.15742
}

Semantic roles & 50–950 ramp

primary
#31759B
secondary
#BB896D
accent
#804CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31759B

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

Preview Lab → · Contrast checker → · Palette generator →

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