#31658D#31658D

#31658D is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.9% C 0.085 H 244.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#31658D
RGBrgb(49, 101, 141)
HSLhsl(206, 48%, 37%)
HSVhsv(206, 65%, 55%)
CMYKcmyk(65.2%, 28.4%, 0%, 44.7%)
CIE-LABlab(41.03, -4.19, -27.20)
CIE-LCHlch(41.03, 27.53, 261.25°)
OKLaboklab(48.94% -0.0372 -0.0766)
OKLCHoklch(48.94% 0.085 244.1)
XYZxyz(10.7262, 11.8824, 26.9224)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31658D #8D5931
analogous
#318D87 #31658D #31378D
triadic
#31658D #8D3165 #658D31
tetradic
#31658D #87318D #8D5931 #378D31
square
#31658D #87318D #8D5931 #378D31
split-complementary
#31658D #8D3137 #8D8731
monochromatic
#112432 #214460 #31658D #4186BA #6CA2CC

Accessibility & contrast

On white

6.22
#31658D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#31658D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31658D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31658D#FFFFFF#000000##FFFFFF
##31658D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#006F73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #31658d;
/* rgb */ color: rgb(49, 101, 141);
/* oklch */ color: oklch(48.9% 0.085 244.1);
Tailwind
colors: {
  custom: {
    50: '#7390ae',
    500: '#31658d',
    950: '#000000',
  },
}
SCSS
$custom: #31658d;
$custom-light: #7390ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31658d",
  "rgb": {
    "r": 49,
    "g": 101,
    "b": 141
  },
  "hsl": {
    "h": 206.087,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.08518,
    "h": 244.1
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#31658D
secondary
#B48866
accent
#8B50D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #31658D

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

Preview Lab → · Contrast checker → · Palette generator →

#31658D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva