#31809C#31809C

#31809C is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.087 H 225.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#31809C
RGBrgb(49, 128, 156)
HSLhsl(196, 52%, 40%)
HSVhsv(196, 69%, 61%)
CMYKcmyk(68.6%, 17.9%, 0%, 38.8%)
CIE-LABlab(50.09, -14.74, -22.05)
CIE-LCHlch(50.09, 26.52, 236.23°)
OKLaboklab(56.36% -0.0613 -0.0616)
OKLCHoklch(56.36% 0.087 225.1)
XYZxyz(14.9841, 18.4900, 34.2253)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31809C #9C4D31
analogous
#319C82 #31809C #314A9C
triadic
#31809C #9C3180 #809C31
tetradic
#31809C #82319C #9C4D31 #4A9C31
square
#31809C #82319C #9C4D31 #4A9C31
split-complementary
#31809C #9C314A #9C8231
monochromatic
#14343F #225A6D #31809C #45A3C5 #74BAD3

Accessibility & contrast

On white

4.47
#31809C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#31809C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31809C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31809C#FFFFFF#000000##000000
##31809C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#717D9D
Deuteranopia (green-blind)
#62729C
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #31809c;
/* rgb */ color: rgb(49, 128, 156);
/* oklch */ color: oklch(56.4% 0.087 225.1);
Tailwind
colors: {
  custom: {
    50: '#76a5b9',
    500: '#31809c',
    950: '#000000',
  },
}
SCSS
$custom: #31809c;
$custom-light: #76a5b9;
$custom-dark: #000000;
JSON
{
  "hex": "#31809c",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 156
  },
  "hsl": {
    "h": 195.701,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.08695,
    "h": 225.1
  },
  "luminance": 0.18492
}

Semantic roles & 50–950 ramp

primary
#31809C
secondary
#BB826D
accent
#724CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31809C

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

Preview Lab → · Contrast checker → · Palette generator →

#31809C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva