#31759A#31759A

#31759A is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.5% C 0.089 H 235.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#31759A
RGBrgb(49, 117, 154)
HSLhsl(201, 52%, 40%)
HSVhsv(201, 68%, 60%)
CMYKcmyk(68.2%, 24%, 0%, 39.6%)
CIE-LABlab(46.59, -9.17, -26.28)
CIE-LCHlch(46.59, 27.83, 250.77°)
OKLaboklab(53.55% -0.0503 -0.0738)
OKLCHoklch(53.55% 0.089 235.7)
XYZxyz(13.4584, 15.7072, 32.8881)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31759A #9A5631
analogous
#319A8B #31759A #31409A
triadic
#31759A #9A3175 #759A31
tetradic
#31759A #8B319A #9A5631 #409A31
square
#31759A #8B319A #9A5631 #409A31
split-complementary
#31759A #9A3140 #9A8B31
monochromatic
#132E3D #22526C #31759A #4597C4 #73B1D2

Accessibility & contrast

On white

5.07
#31759A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#31759A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31759A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31759A#FFFFFF#000000##FFFFFF
##31759A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63749C
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #31759a;
/* rgb */ color: rgb(49, 117, 154);
/* oklch */ color: oklch(53.5% 0.089 235.7);
Tailwind
colors: {
  custom: {
    50: '#759cb8',
    500: '#31759a',
    950: '#000000',
  },
}
SCSS
$custom: #31759a;
$custom-light: #759cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#31759a",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 154
  },
  "hsl": {
    "h": 201.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.08932,
    "h": 235.7
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#31759A
secondary
#BA886C
accent
#7F4DDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31759A

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

Preview Lab → · Contrast checker → · Palette generator →

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