#31799E#31799E

#31799E is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.091 H 234.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#31799E
RGBrgb(49, 121, 158)
HSLhsl(200, 53%, 41%)
HSVhsv(200, 69%, 62%)
CMYKcmyk(69%, 23.4%, 0%, 38%)
CIE-LABlab(48.00, -10.10, -26.44)
CIE-LCHlch(48.00, 28.30, 249.09°)
OKLaboklab(54.73% -0.0531 -0.0742)
OKLCHoklch(54.73% 0.091 234.4)
XYZxyz(14.2731, 16.7948, 34.8306)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31799E #9E5631
analogous
#319E8C #31799E #31429E
triadic
#31799E #9E3179 #799E31
tetradic
#31799E #8C319E #9E5631 #429E31
square
#31799E #8C319E #9E5631 #429E31
split-complementary
#31799E #9E3142 #9E8C31
monochromatic
#143141 #23556F #31799E #469BC6 #75B4D4

Accessibility & contrast

On white

4.82
#31799E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#31799E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31799E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31799E#FFFFFF#000000##FFFFFF
##31799E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A0
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #31799e;
/* rgb */ color: rgb(49, 121, 158);
/* oklch */ color: oklch(54.7% 0.091 234.4);
Tailwind
colors: {
  custom: {
    50: '#769fba',
    500: '#31799e',
    950: '#000000',
  },
}
SCSS
$custom: #31799e;
$custom-light: #769fba;
$custom-dark: #000000;
JSON
{
  "hex": "#31799e",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 200.367,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.09129,
    "h": 234.4
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#31799E
secondary
#BC896E
accent
#7D4CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #31799E

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

Preview Lab → · Contrast checker → · Palette generator →

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