#31768F#31768F

#31768F is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.3% C 0.079 H 225.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#31768F
RGBrgb(49, 118, 143)
HSLhsl(196, 49%, 38%)
HSVhsv(196, 66%, 56%)
CMYKcmyk(65.7%, 17.5%, 0%, 43.9%)
CIE-LABlab(46.43, -13.49, -20.02)
CIE-LCHlch(46.43, 24.14, 236.03°)
OKLaboklab(53.27% -0.0556 -0.0559)
OKLCHoklch(53.27% 0.079 225.2)
XYZxyz(12.7010, 15.5917, 28.3214)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31768F #8F4A31
analogous
#318F79 #31768F #31478F
triadic
#31768F #8F3176 #768F31
tetradic
#31768F #79318F #8F4A31 #478F31
square
#31768F #79318F #8F4A31 #478F31
split-complementary
#31768F #8F3147 #8F7931
monochromatic
#122B34 #215061 #31768F #419CBD #6DB4CD

Accessibility & contrast

On white

5.10
#31768F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#31768F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31768F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31768F#FFFFFF#000000##FFFFFF
##31768F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687490
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #31768f;
/* rgb */ color: rgb(49, 118, 143);
/* oklch */ color: oklch(53.3% 0.079 225.2);
Tailwind
colors: {
  custom: {
    50: '#749daf',
    500: '#31768f',
    950: '#000000',
  },
}
SCSS
$custom: #31768f;
$custom-light: #749daf;
$custom-dark: #000000;
JSON
{
  "hex": "#31768f",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 143
  },
  "hsl": {
    "h": 195.957,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.07881,
    "h": 225.2
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#31768F
secondary
#B57C67
accent
#744FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31768F

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

Preview Lab → · Contrast checker → · Palette generator →

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