#31839B#31839B

#31839B is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.1% C 0.086 H 220.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#31839B
RGBrgb(49, 131, 155)
HSLhsl(194, 52%, 40%)
HSVhsv(194, 68%, 61%)
CMYKcmyk(68.4%, 15.5%, 0%, 39.2%)
CIE-LABlab(50.98, -16.73, -20.09)
CIE-LCHlch(50.98, 26.14, 230.22°)
OKLaboklab(57.07% -0.065 -0.056)
OKLCHoklch(57.07% 0.086 220.8)
XYZxyz(15.2969, 19.2504, 33.9135)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31839B #9B4931
analogous
#319B7E #31839B #314E9B
triadic
#31839B #9B3183 #839B31
tetradic
#31839B #7E319B #9B4931 #4E9B31
square
#31839B #7E319B #9B4931 #4E9B31
split-complementary
#31839B #9B314E #9B7E31
monochromatic
#14343E #225C6D #31839B #45A7C4 #73BDD3

Accessibility & contrast

On white

4.33
#31839B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#31839B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31839B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31839B#FFFFFF#000000##000000
##31839B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75809C
Deuteranopia (green-blind)
#66759B
Tritanopia (blue-blind)
#008B8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #31839b;
/* rgb */ color: rgb(49, 131, 155);
/* oklch */ color: oklch(57.1% 0.086 220.8);
Tailwind
colors: {
  custom: {
    50: '#76a7b8',
    500: '#31839b',
    950: '#000000',
  },
}
SCSS
$custom: #31839b;
$custom-light: #76a7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31839b",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 155
  },
  "hsl": {
    "h": 193.585,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.0858,
    "h": 220.8
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#31839B
secondary
#BB7F6D
accent
#6D4CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31839B

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

Preview Lab → · Contrast checker → · Palette generator →

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