#31689E#31689E

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

Color values

HEX#31689E
RGBrgb(49, 104, 158)
HSLhsl(210, 53%, 41%)
HSVhsv(210, 69%, 62%)
CMYKcmyk(69%, 34.2%, 0%, 38%)
CIE-LABlab(42.79, 0.07, -34.58)
CIE-LCHlch(42.79, 34.58, 270.12°)
OKLaboklab(50.61% -0.0352 -0.098)
OKLCHoklch(50.61% 0.104 250.3)
XYZxyz(12.3862, 13.0209, 34.2016)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31689E #9E6731
analogous
#319E9D #31689E #31319E
triadic
#31689E #9E3168 #689E31
tetradic
#31689E #9D319E #9E6731 #319E31
square
#31689E #9D319E #9E6731 #319E31
split-complementary
#31689E #9E3131 #9E9D31
monochromatic
#142B41 #23496F #31689E #4687C6 #75A5D4

Accessibility & contrast

On white

5.83
#31689E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #31689E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31689E#FFFFFF#000000##FFFFFF
##31689E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506BA0
Deuteranopia (green-blind)
#41609D
Tritanopia (blue-blind)
#00757B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31689e;
/* rgb */ color: rgb(49, 104, 158);
/* oklch */ color: oklch(50.6% 0.104 250.3);
Tailwind
colors: {
  custom: {
    50: '#7692bb',
    500: '#31689e',
    950: '#000000',
  },
}
SCSS
$custom: #31689e;
$custom-light: #7692bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31689e",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 158
  },
  "hsl": {
    "h": 209.725,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.10416,
    "h": 250.3
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#31689E
secondary
#BC956E
accent
#934CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D12
muted
#7B7D81

Preview Lab

Preview with #31689E

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

Preview Lab → · Contrast checker → · Palette generator →

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