#31698E#31698E

#31698E is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.0% C 0.083 H 240.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#31698E
RGBrgb(49, 105, 142)
HSLhsl(204, 49%, 37%)
HSVhsv(204, 65%, 56%)
CMYKcmyk(65.5%, 26.1%, 0%, 44.3%)
CIE-LABlab(42.32, -6.26, -25.79)
CIE-LCHlch(42.32, 26.54, 256.36°)
OKLaboklab(49.98% -0.0414 -0.0725)
OKLCHoklch(49.98% 0.083 240.3)
XYZxyz(11.1988, 12.7080, 27.4486)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31698E #8E5631
analogous
#318E85 #31698E #313B8E
triadic
#31698E #8E3169 #698E31
tetradic
#31698E #85318E #8E5631 #3B8E31
square
#31698E #85318E #8E5631 #3B8E31
split-complementary
#31698E #8E313B #8E8531
monochromatic
#122633 #214761 #31698E #418BBB #6DA6CD

Accessibility & contrast

On white

5.93
#31698E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#31698E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31698E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31698E#FFFFFF#000000##FFFFFF
##31698E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#4B608D
Tritanopia (blue-blind)
#007276
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #31698e;
/* rgb */ color: rgb(49, 105, 142);
/* oklch */ color: oklch(50.0% 0.083 240.3);
Tailwind
colors: {
  custom: {
    50: '#7393af',
    500: '#31698e',
    950: '#000000',
  },
}
SCSS
$custom: #31698e;
$custom-light: #7393af;
$custom-dark: #000000;
JSON
{
  "hex": "#31698e",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 142
  },
  "hsl": {
    "h": 203.871,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.08347,
    "h": 240.3
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#31698E
secondary
#B48567
accent
#8650D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #31698E

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

Preview Lab → · Contrast checker → · Palette generator →

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