#31689D#31689D

#31689D is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.6% C 0.103 H 249.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#31689D
RGBrgb(49, 104, 157)
HSLhsl(209, 52%, 40%)
HSVhsv(209, 69%, 62%)
CMYKcmyk(68.8%, 33.8%, 0%, 38.4%)
CIE-LABlab(42.74, -0.29, -34.07)
CIE-LCHlch(42.74, 34.07, 269.51°)
OKLaboklab(50.55% -0.0355 -0.0965)
OKLCHoklch(50.55% 0.103 249.8)
XYZxyz(12.3005, 12.9866, 33.7502)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31689D #9D6631
analogous
#319D9C #31689D #31329D
triadic
#31689D #9D3168 #689D31
tetradic
#31689D #9C319D #9D6631 #329D31
square
#31689D #9C319D #9D6631 #329D31
split-complementary
#31689D #9D3132 #9D9C31
monochromatic
#142A40 #22496E #31689D #4687C5 #75A5D4

Accessibility & contrast

On white

5.84
#31689D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#31689D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31689D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31689D#FFFFFF#000000##FFFFFF
##31689D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516B9F
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#00747B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31689d;
/* rgb */ color: rgb(49, 104, 157);
/* oklch */ color: oklch(50.6% 0.103 249.8);
Tailwind
colors: {
  custom: {
    50: '#7592ba',
    500: '#31689d',
    950: '#000000',
  },
}
SCSS
$custom: #31689d;
$custom-light: #7592ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31689d",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 157
  },
  "hsl": {
    "h": 209.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.10285,
    "h": 249.8
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#31689D
secondary
#BC946E
accent
#934CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #31689D

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

Preview Lab → · Contrast checker → · Palette generator →

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