#31829D#31829D

#31829D is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 56.9% C 0.087 H 223.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#31829D
RGBrgb(49, 130, 157)
HSLhsl(195, 52%, 40%)
HSVhsv(195, 69%, 62%)
CMYKcmyk(68.8%, 17.2%, 0%, 38.4%)
CIE-LABlab(50.75, -15.52, -21.61)
CIE-LCHlch(50.75, 26.60, 234.32°)
OKLaboklab(56.9% -0.0631 -0.0604)
OKLCHoklch(56.9% 0.087 223.7)
XYZxyz(15.3326, 19.0509, 34.7609)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31829D #9D4C31
analogous
#319D82 #31829D #314C9D
triadic
#31829D #9D3182 #829D31
tetradic
#31829D #82319D #9D4C31 #4C9D31
square
#31829D #82319D #9D4C31 #4C9D31
split-complementary
#31829D #9D314C #9D8231
monochromatic
#143540 #225B6E #31829D #46A5C5 #75BCD4

Accessibility & contrast

On white

4.37
#31829D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#31829D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31829D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31829D#FFFFFF#000000##000000
##31829D1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#737F9E
Deuteranopia (green-blind)
#64749D
Tritanopia (blue-blind)
#008A8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #31829d;
/* rgb */ color: rgb(49, 130, 157);
/* oklch */ color: oklch(56.9% 0.087 223.7);
Tailwind
colors: {
  custom: {
    50: '#77a6ba',
    500: '#31829d',
    950: '#000000',
  },
}
SCSS
$custom: #31829d;
$custom-light: #77a6ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31829d",
  "rgb": {
    "r": 49,
    "g": 130,
    "b": 157
  },
  "hsl": {
    "h": 195,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.08733,
    "h": 223.7
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#31829D
secondary
#BC816E
accent
#704CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31829D

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

Preview Lab → · Contrast checker → · Palette generator →

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