#31859B#31859B

#31859B is a mid, moderate cyan. Relative luminance 0.198; OKLCH L 57.6% C 0.086 H 218.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#31859B
RGBrgb(49, 133, 155)
HSLhsl(192, 52%, 40%)
HSVhsv(192, 68%, 61%)
CMYKcmyk(68.4%, 14.2%, 0%, 39.2%)
CIE-LABlab(51.60, -17.82, -19.14)
CIE-LCHlch(51.60, 26.15, 227.04°)
OKLaboklab(57.57% -0.0671 -0.0533)
OKLCHoklch(57.57% 0.086 218.5)
XYZxyz(15.5681, 19.7929, 34.0039)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31859B #9B4731
analogous
#319B7C #31859B #31509B
triadic
#31859B #9B3185 #859B31
tetradic
#31859B #7C319B #9B4731 #509B31
square
#31859B #7C319B #9B4731 #509B31
split-complementary
#31859B #9B3150 #9B7C31
monochromatic
#14353E #225D6D #31859B #45AAC4 #73BFD3

Accessibility & contrast

On white

4.23
#31859B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#31859B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31859B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31859B#FFFFFF#000000##000000
##31859B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77819C
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#008C8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #31859b;
/* rgb */ color: rgb(49, 133, 155);
/* oklch */ color: oklch(57.6% 0.086 218.5);
Tailwind
colors: {
  custom: {
    50: '#77a8b8',
    500: '#31859b',
    950: '#000000',
  },
}
SCSS
$custom: #31859b;
$custom-light: #77a8b8;
$custom-dark: #000000;
JSON
{
  "hex": "#31859b",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 155
  },
  "hsl": {
    "h": 192.453,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.57565,
    "c": 0.08571,
    "h": 218.5
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#31859B
secondary
#BB7D6D
accent
#6A4CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #31859B

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

Preview Lab → · Contrast checker → · Palette generator →

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