#31768E#31768E

#31768E is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.078 H 224.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#31768E
RGBrgb(49, 118, 142)
HSLhsl(195, 49%, 37%)
HSVhsv(195, 65%, 56%)
CMYKcmyk(65.5%, 16.9%, 0%, 44.3%)
CIE-LABlab(46.39, -13.82, -19.49)
CIE-LCHlch(46.39, 23.90, 234.66°)
OKLaboklab(53.22% -0.056 -0.0544)
OKLCHoklch(53.22% 0.078 224.2)
XYZxyz(12.6256, 15.5615, 27.9242)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31768E #8E4931
analogous
#318E78 #31768E #31478E
triadic
#31768E #8E3176 #768E31
tetradic
#31768E #78318E #8E4931 #478E31
square
#31768E #78318E #8E4931 #478E31
split-complementary
#31768E #8E3147 #8E7831
monochromatic
#122A33 #215061 #31768E #419CBB #6DB4CD

Accessibility & contrast

On white

5.11
#31768E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#31768E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31768E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31768E#FFFFFF#000000##FFFFFF
##31768E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69738F
Deuteranopia (green-blind)
#5B6A8E
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #31768e;
/* rgb */ color: rgb(49, 118, 142);
/* oklch */ color: oklch(53.2% 0.078 224.2);
Tailwind
colors: {
  custom: {
    50: '#749daf',
    500: '#31768e',
    950: '#000000',
  },
}
SCSS
$custom: #31768e;
$custom-light: #749daf;
$custom-dark: #000000;
JSON
{
  "hex": "#31768e",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 142
  },
  "hsl": {
    "h": 195.484,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.07803,
    "h": 224.2
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#31768E
secondary
#B47B67
accent
#7350D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31768E

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

Preview Lab → · Contrast checker → · Palette generator →

#31768E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva