#31689A#31689A

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

Color values

HEX#31689A
RGBrgb(49, 104, 154)
HSLhsl(209, 52%, 40%)
HSVhsv(209, 68%, 60%)
CMYKcmyk(68.2%, 32.5%, 0%, 39.6%)
CIE-LABlab(42.59, -1.38, -32.53)
CIE-LCHlch(42.59, 32.56, 267.57°)
OKLaboklab(50.38% -0.0364 -0.0921)
OKLCHoklch(50.38% 0.099 248.4)
XYZxyz(12.0475, 12.8854, 32.4178)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31689A #9A6331
analogous
#319A97 #31689A #31349A
triadic
#31689A #9A3168 #689A31
tetradic
#31689A #97319A #9A6331 #349A31
square
#31689A #97319A #9A6331 #349A31
split-complementary
#31689A #9A3134 #9A9731
monochromatic
#13293D #22496C #31689A #4587C4 #73A5D2

Accessibility & contrast

On white

5.87
#31689A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31689A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31689A#FFFFFF#000000##FFFFFF
##31689A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9C
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#00747A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31689a;
/* rgb */ color: rgb(49, 104, 154);
/* oklch */ color: oklch(50.4% 0.099 248.4);
Tailwind
colors: {
  custom: {
    50: '#7592b8',
    500: '#31689a',
    950: '#000000',
  },
}
SCSS
$custom: #31689a;
$custom-light: #7592b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31689a",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 154
  },
  "hsl": {
    "h": 208.571,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.09897,
    "h": 248.4
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#31689A
secondary
#BA926C
accent
#914DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #31689A

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

Preview Lab → · Contrast checker → · Palette generator →

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