#31889D#31889D

#31889D is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.4% C 0.087 H 216.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#31889D
RGBrgb(49, 136, 157)
HSLhsl(192, 52%, 40%)
HSVhsv(192, 69%, 62%)
CMYKcmyk(68.8%, 13.4%, 0%, 38.4%)
CIE-LABlab(52.61, -18.78, -18.75)
CIE-LCHlch(52.61, 26.54, 224.95°)
OKLaboklab(58.4% -0.0695 -0.0522)
OKLCHoklch(58.4% 0.087 216.9)
XYZxyz(16.1541, 20.6938, 35.0347)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31889D #9D4631
analogous
#319D7C #31889D #31529D
triadic
#31889D #9D3188 #889D31
tetradic
#31889D #7C319D #9D4631 #529D31
square
#31889D #7C319D #9D4631 #529D31
split-complementary
#31889D #9D3152 #9D7C31
monochromatic
#143740 #22606E #31889D #46ACC5 #75C1D4

Accessibility & contrast

On white

4.09
#31889D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#31889D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31889D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31889D#FFFFFF#000000##000000
##31889D1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A849E
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31889d;
/* rgb */ color: rgb(49, 136, 157);
/* oklch */ color: oklch(58.4% 0.087 216.9);
Tailwind
colors: {
  custom: {
    50: '#77abba',
    500: '#31889d',
    950: '#000000',
  },
}
SCSS
$custom: #31889d;
$custom-light: #77abba;
$custom-dark: #000000;
JSON
{
  "hex": "#31889d",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 157
  },
  "hsl": {
    "h": 191.667,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.08694,
    "h": 216.9
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#31889D
secondary
#BC7D6E
accent
#684CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31889D

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

Preview Lab → · Contrast checker → · Palette generator →

#31889D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva