#31889A#31889A

#31889A is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.3% C 0.085 H 214.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#31889A
RGBrgb(49, 136, 154)
HSLhsl(190, 52%, 40%)
HSVhsv(190, 68%, 60%)
CMYKcmyk(68.2%, 11.7%, 0%, 39.6%)
CIE-LABlab(52.50, -19.75, -17.18)
CIE-LCHlch(52.50, 26.18, 221.02°)
OKLaboklab(58.27% -0.0707 -0.0478)
OKLCHoklch(58.27% 0.085 214)
XYZxyz(15.9011, 20.5926, 33.7023)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31889A #9A4331
analogous
#319A78 #31889A #31539A
triadic
#31889A #9A3188 #889A31
tetradic
#31889A #78319A #9A4331 #539A31
square
#31889A #78319A #9A4331 #539A31
split-complementary
#31889A #9A3153 #9A7831
monochromatic
#13363D #225F6C #31889A #45AEC4 #73C2D2

Accessibility & contrast

On white

4.10
#31889A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#31889A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31889A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31889A#FFFFFF#000000##000000
##31889A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B849B
Deuteranopia (green-blind)
#6C789A
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #31889a;
/* rgb */ color: rgb(49, 136, 154);
/* oklch */ color: oklch(58.3% 0.085 214.0);
Tailwind
colors: {
  custom: {
    50: '#77abb7',
    500: '#31889a',
    950: '#000000',
  },
}
SCSS
$custom: #31889a;
$custom-light: #77abb7;
$custom-dark: #000000;
JSON
{
  "hex": "#31889a",
  "rgb": {
    "r": 49,
    "g": 136,
    "b": 154
  },
  "hsl": {
    "h": 190.286,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.08538,
    "h": 214
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#31889A
secondary
#BA7A6C
accent
#654DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31889A

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

Preview Lab → · Contrast checker → · Palette generator →

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