#31689F#31689F

#31689F is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.7% C 0.105 H 250.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#31689F
RGBrgb(49, 104, 159)
HSLhsl(210, 53%, 41%)
HSVhsv(210, 69%, 62%)
CMYKcmyk(69.2%, 34.6%, 0%, 37.6%)
CIE-LABlab(42.85, 0.43, -35.09)
CIE-LCHlch(42.85, 35.10, 270.71°)
OKLaboklab(50.67% -0.0349 -0.0995)
OKLCHoklch(50.67% 0.105 250.7)
XYZxyz(12.4726, 13.0555, 34.6568)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31689F #9F6831
analogous
#319F9F #31689F #31319F
triadic
#31689F #9F3168 #689F31
tetradic
#31689F #9F319F #9F6831 #319F31
square
#31689F #9F319F #9F6831 #319F31
split-complementary
#31689F #9F3131 #9F9F31
monochromatic
#142B41 #234970 #31689F #4787C6 #76A5D5

Accessibility & contrast

On white

5.81
#31689F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#31689F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31689F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31689F#FFFFFF#000000##FFFFFF
##31689F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506BA1
Deuteranopia (green-blind)
#40609E
Tritanopia (blue-blind)
#00757C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #31689f;
/* rgb */ color: rgb(49, 104, 159);
/* oklch */ color: oklch(50.7% 0.105 250.7);
Tailwind
colors: {
  custom: {
    50: '#7692bb',
    500: '#31689f',
    950: '#000000',
  },
}
SCSS
$custom: #31689f;
$custom-light: #7692bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31689f",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 159
  },
  "hsl": {
    "h": 210,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.10547,
    "h": 250.7
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#31689F
secondary
#BD966F
accent
#944CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090D12
muted
#7B7D81

Preview Lab

Preview with #31689F

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

Preview Lab → · Contrast checker → · Palette generator →

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