#31688F#31688F

#31688F is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.085 H 242.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#31688F
RGBrgb(49, 104, 143)
HSLhsl(205, 49%, 38%)
HSVhsv(205, 66%, 56%)
CMYKcmyk(65.7%, 27.3%, 0%, 43.9%)
CIE-LABlab(42.05, -5.30, -26.80)
CIE-LCHlch(42.05, 27.32, 258.81°)
OKLaboklab(49.79% -0.0399 -0.0754)
OKLCHoklch(49.79% 0.085 242.1)
XYZxyz(11.1730, 12.5356, 27.8121)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31688F #8F5831
analogous
#318F87 #31688F #31398F
triadic
#31688F #8F3168 #688F31
tetradic
#31688F #87318F #8F5831 #398F31
square
#31688F #87318F #8F5831 #398F31
split-complementary
#31688F #8F3139 #8F8731
monochromatic
#122634 #214761 #31688F #4189BD #6DA5CD

Accessibility & contrast

On white

5.99
#31688F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#31688F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31688F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31688F#FFFFFF#000000##FFFFFF
##31688F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566891
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#007275
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31688f;
/* rgb */ color: rgb(49, 104, 143);
/* oklch */ color: oklch(49.8% 0.085 242.1);
Tailwind
colors: {
  custom: {
    50: '#7393b0',
    500: '#31688f',
    950: '#000000',
  },
}
SCSS
$custom: #31688f;
$custom-light: #7393b0;
$custom-dark: #000000;
JSON
{
  "hex": "#31688f",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 143
  },
  "hsl": {
    "h": 204.894,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.08534,
    "h": 242.1
  },
  "luminance": 0.12537
}

Semantic roles & 50–950 ramp

primary
#31688F
secondary
#B58767
accent
#884FD9
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #31688F

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

Preview Lab → · Contrast checker → · Palette generator →

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