#31889E#31889E

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

Color values

HEX#31889E
RGBrgb(49, 136, 158)
HSLhsl(192, 53%, 41%)
HSVhsv(192, 69%, 62%)
CMYKcmyk(69%, 13.9%, 0%, 38%)
CIE-LABlab(52.65, -18.46, -19.27)
CIE-LCHlch(52.65, 26.69, 226.24°)
OKLaboklab(58.44% -0.0691 -0.0537)
OKLCHoklch(58.44% 0.088 217.9)
XYZxyz(16.2398, 20.7281, 35.4862)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31889E #9E4731
analogous
#319E7D #31889E #31519E
triadic
#31889E #9E3188 #889E31
tetradic
#31889E #7D319E #9E4731 #519E31
square
#31889E #7D319E #9E4731 #519E31
split-complementary
#31889E #9E3151 #9E7D31
monochromatic
#143841 #23606F #31889E #46ACC6 #75C1D4

Accessibility & contrast

On white

4.08
#31889E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#31889E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31889E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31889E#FFFFFF#000000##000000
##31889E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A849F
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#00908F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #31889e;
/* rgb */ color: rgb(49, 136, 158);
/* oklch */ color: oklch(58.4% 0.087 217.9);
Tailwind
colors: {
  custom: {
    50: '#77abba',
    500: '#31889e',
    950: '#000000',
  },
}
SCSS
$custom: #31889e;
$custom-light: #77abba;
$custom-dark: #000000;
JSON
{
  "hex": "#31889e",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 158
  },
  "hsl": {
    "h": 192.11,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.0875,
    "h": 217.9
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#31889E
secondary
#BC7E6E
accent
#694CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31889E

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

Preview Lab → · Contrast checker → · Palette generator →

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