#31809E#31809E

#31809E is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.5% C 0.089 H 226.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#31809E
RGBrgb(49, 128, 158)
HSLhsl(197, 53%, 41%)
HSVhsv(197, 69%, 62%)
CMYKcmyk(69%, 19%, 0%, 38%)
CIE-LABlab(50.17, -14.07, -23.09)
CIE-LCHlch(50.17, 27.04, 238.64°)
OKLaboklab(56.45% -0.0606 -0.0646)
OKLCHoklch(56.45% 0.089 226.8)
XYZxyz(15.1549, 18.5583, 35.1245)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31809E #9E4F31
analogous
#319E85 #31809E #31499E
triadic
#31809E #9E3180 #809E31
tetradic
#31809E #85319E #9E4F31 #499E31
square
#31809E #85319E #9E4F31 #499E31
split-complementary
#31809E #9E3149 #9E8531
monochromatic
#143441 #235A6F #31809E #46A3C6 #75BAD4

Accessibility & contrast

On white

4.46
#31809E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#31809E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31809E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31809E#FFFFFF#000000##000000
##31809E1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#707EA0
Deuteranopia (green-blind)
#61739E
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #31809e;
/* rgb */ color: rgb(49, 128, 158);
/* oklch */ color: oklch(56.5% 0.089 226.8);
Tailwind
colors: {
  custom: {
    50: '#77a5ba',
    500: '#31809e',
    950: '#000000',
  },
}
SCSS
$custom: #31809e;
$custom-light: #77a5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31809e",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 158
  },
  "hsl": {
    "h": 196.514,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.08855,
    "h": 226.8
  },
  "luminance": 0.1856
}

Semantic roles & 50–950 ramp

primary
#31809E
secondary
#BC846E
accent
#734CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31809E

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

Preview Lab → · Contrast checker → · Palette generator →

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