#31869A#31869A

#31869A is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 57.8% C 0.085 H 216.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#31869A
RGBrgb(49, 134, 154)
HSLhsl(191, 52%, 40%)
HSVhsv(191, 68%, 60%)
CMYKcmyk(68.2%, 13%, 0%, 39.6%)
CIE-LABlab(51.88, -18.68, -18.14)
CIE-LCHlch(51.88, 26.04, 224.15°)
OKLaboklab(57.77% -0.0686 -0.0505)
OKLCHoklch(57.77% 0.085 216.4)
XYZxyz(15.6220, 20.0345, 33.6093)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31869A #9A4531
analogous
#319A7A #31869A #31519A
triadic
#31869A #9A3186 #869A31
tetradic
#31869A #7A319A #9A4531 #519A31
square
#31869A #7A319A #9A4531 #519A31
split-complementary
#31869A #9A3151 #9A7A31
monochromatic
#13353D #225E6C #31869A #45ABC4 #73C0D2

Accessibility & contrast

On white

4.19
#31869A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#31869A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31869A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31869A#FFFFFF#000000##000000
##31869A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829B
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #31869a;
/* rgb */ color: rgb(49, 134, 154);
/* oklch */ color: oklch(57.8% 0.085 216.4);
Tailwind
colors: {
  custom: {
    50: '#77a9b7',
    500: '#31869a',
    950: '#000000',
  },
}
SCSS
$custom: #31869a;
$custom-light: #77a9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#31869a",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 154
  },
  "hsl": {
    "h": 191.429,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.08518,
    "h": 216.4
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#31869A
secondary
#BA7B6C
accent
#684DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31869A

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

Preview Lab → · Contrast checker → · Palette generator →

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