#31869D#31869D

#31869D is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.9% C 0.087 H 219.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#31869D
RGBrgb(49, 134, 157)
HSLhsl(193, 52%, 40%)
HSVhsv(193, 69%, 62%)
CMYKcmyk(68.8%, 14.6%, 0%, 38.4%)
CIE-LABlab(51.99, -17.71, -19.70)
CIE-LCHlch(51.99, 26.49, 228.06°)
OKLaboklab(57.9% -0.0674 -0.0549)
OKLCHoklch(57.9% 0.087 219.2)
XYZxyz(15.8750, 20.1357, 34.9417)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31869D #9D4831
analogous
#319D7E #31869D #31509D
triadic
#31869D #9D3186 #869D31
tetradic
#31869D #7E319D #9D4831 #509D31
square
#31869D #7E319D #9D4831 #509D31
split-complementary
#31869D #9D3150 #9D7E31
monochromatic
#143640 #225E6E #31869D #46AAC5 #75C0D4

Accessibility & contrast

On white

4.18
#31869D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#31869D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31869D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31869D#FFFFFF#000000##000000
##31869D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78829E
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #31869d;
/* rgb */ color: rgb(49, 134, 157);
/* oklch */ color: oklch(57.9% 0.087 219.2);
Tailwind
colors: {
  custom: {
    50: '#77a9ba',
    500: '#31869d',
    950: '#000000',
  },
}
SCSS
$custom: #31869d;
$custom-light: #77a9ba;
$custom-dark: #000000;
JSON
{
  "hex": "#31869d",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 157
  },
  "hsl": {
    "h": 192.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.08693,
    "h": 219.2
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#31869D
secondary
#BC7F6E
accent
#6B4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31869D

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

Preview Lab → · Contrast checker → · Palette generator →

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