#31739F#31739F

#31739F is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.3% C 0.096 H 241.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#31739F
RGBrgb(49, 115, 159)
HSLhsl(204, 53%, 41%)
HSVhsv(204, 69%, 62%)
CMYKcmyk(69.2%, 27.7%, 0%, 37.6%)
CIE-LABlab(46.20, -6.24, -29.83)
CIE-LCHlch(46.20, 30.48, 258.18°)
OKLaboklab(53.31% -0.0464 -0.0841)
OKLCHoklch(53.31% 0.096 241.1)
XYZxyz(13.6530, 15.4162, 35.0503)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31739F #9F5D31
analogous
#319F94 #31739F #313C9F
triadic
#31739F #9F3173 #739F31
tetradic
#31739F #94319F #9F5D31 #3C9F31
square
#31739F #94319F #9F5D31 #3C9F31
split-complementary
#31739F #9F313C #9F9431
monochromatic
#142F41 #235170 #31739F #4793C6 #76AFD5

Accessibility & contrast

On white

5.14
#31739F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#31739F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##31739F#FFFFFF#000000##FFFFFF
##31739F1.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)
#5F73A1
Deuteranopia (green-blind)
#50699E
Tritanopia (blue-blind)
#007E82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #31739f;
/* rgb */ color: rgb(49, 115, 159);
/* oklch */ color: oklch(53.3% 0.096 241.1);
Tailwind
colors: {
  custom: {
    50: '#769bbb',
    500: '#31739f',
    950: '#000000',
  },
}
SCSS
$custom: #31739f;
$custom-light: #769bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#31739f",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 159
  },
  "hsl": {
    "h": 204,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.09605,
    "h": 241.1
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#31739F
secondary
#BD8E6F
accent
#854CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #31739F

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

Preview Lab → · Contrast checker → · Palette generator →

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