#31689B#31689B

#31689B is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.100 H 248.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#31689B
RGBrgb(49, 104, 155)
HSLhsl(209, 52%, 40%)
HSVhsv(209, 68%, 61%)
CMYKcmyk(68.4%, 32.9%, 0%, 39.2%)
CIE-LABlab(42.64, -1.02, -33.05)
CIE-LCHlch(42.64, 33.06, 268.23°)
OKLaboklab(50.44% -0.0361 -0.0935)
OKLCHoklch(50.44% 0.1 248.9)
XYZxyz(12.1311, 12.9189, 32.8583)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31689B #9B6431
analogous
#319B99 #31689B #31339B
triadic
#31689B #9B3168 #689B31
tetradic
#31689B #99319B #9B6431 #339B31
square
#31689B #99319B #9B6431 #339B31
split-complementary
#31689B #9B3133 #9B9931
monochromatic
#142A3E #22496D #31689B #4587C4 #73A5D3

Accessibility & contrast

On white

5.86
#31689B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#31689B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31689B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31689B#FFFFFF#000000##FFFFFF
##31689B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516A9D
Deuteranopia (green-blind)
#43609A
Tritanopia (blue-blind)
#00747A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31689b;
/* rgb */ color: rgb(49, 104, 155);
/* oklch */ color: oklch(50.4% 0.100 248.9);
Tailwind
colors: {
  custom: {
    50: '#7592b8',
    500: '#31689b',
    950: '#000000',
  },
}
SCSS
$custom: #31689b;
$custom-light: #7592b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31689b",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 155
  },
  "hsl": {
    "h": 208.868,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.10026,
    "h": 248.9
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

primary
#31689B
secondary
#BB926D
accent
#914CDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #31689B

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

Preview Lab → · Contrast checker → · Palette generator →

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