#31869F#31869F

#31869F is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.0% C 0.088 H 221.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#31869F
RGBrgb(49, 134, 159)
HSLhsl(194, 53%, 41%)
HSVhsv(194, 69%, 62%)
CMYKcmyk(69.2%, 15.7%, 0%, 37.6%)
CIE-LABlab(52.07, -17.05, -20.74)
CIE-LCHlch(52.07, 26.85, 230.59°)
OKLaboklab(57.99% -0.0666 -0.0579)
OKLCHoklch(57.99% 0.088 221)
XYZxyz(16.0472, 20.2046, 35.8483)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31869F #9F4A31
analogous
#319F81 #31869F #314F9F
triadic
#31869F #9F3186 #869F31
tetradic
#31869F #81319F #9F4A31 #4F9F31
square
#31869F #81319F #9F4A31 #4F9F31
split-complementary
#31869F #9F314F #9F8131
monochromatic
#143741 #235F70 #31869F #47A9C6 #76BFD5

Accessibility & contrast

On white

4.17
#31869F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#31869F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31869F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31869F#FFFFFF#000000##000000
##31869F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A0
Deuteranopia (green-blind)
#68779F
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #31869f;
/* rgb */ color: rgb(49, 134, 159);
/* oklch */ color: oklch(58.0% 0.088 221.0);
Tailwind
colors: {
  custom: {
    50: '#77a9bb',
    500: '#31869f',
    950: '#000000',
  },
}
SCSS
$custom: #31869f;
$custom-light: #77a9bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31869f",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 159
  },
  "hsl": {
    "h": 193.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.08821,
    "h": 221
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#31869F
secondary
#BD816F
accent
#6C4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #31869F

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

Preview Lab → · Contrast checker → · Palette generator →

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