#31839D#31839D

#31839D is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.2% C 0.087 H 222.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#31839D
RGBrgb(49, 131, 157)
HSLhsl(194, 52%, 40%)
HSVhsv(194, 69%, 62%)
CMYKcmyk(68.8%, 16.6%, 0%, 38.4%)
CIE-LABlab(51.06, -16.07, -21.13)
CIE-LCHlch(51.06, 26.55, 232.75°)
OKLaboklab(57.15% -0.0642 -0.059)
OKLCHoklch(57.15% 0.087 222.6)
XYZxyz(15.4662, 19.3182, 34.8054)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31839D #9D4B31
analogous
#319D81 #31839D #314D9D
triadic
#31839D #9D3183 #839D31
tetradic
#31839D #81319D #9D4B31 #4D9D31
square
#31839D #81319D #9D4B31 #4D9D31
split-complementary
#31839D #9D314D #9D8131
monochromatic
#143540 #225C6E #31839D #46A7C5 #75BDD4

Accessibility & contrast

On white

4.32
#31839D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#31839D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31839D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31839D#FFFFFF#000000##000000
##31839D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74809E
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#008B8B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #31839d;
/* rgb */ color: rgb(49, 131, 157);
/* oklch */ color: oklch(57.2% 0.087 222.6);
Tailwind
colors: {
  custom: {
    50: '#77a7ba',
    500: '#31839d',
    950: '#000000',
  },
}
SCSS
$custom: #31839d;
$custom-light: #77a7ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31839d",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 157
  },
  "hsl": {
    "h": 194.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.08716,
    "h": 222.6
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#31839D
secondary
#BC816E
accent
#6F4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31839D

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

Preview Lab → · Contrast checker → · Palette generator →

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