#31618E#31618E

#31618E is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.090 H 248.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#31618E
RGBrgb(49, 97, 142)
HSLhsl(209, 49%, 37%)
HSVhsv(209, 65%, 56%)
CMYKcmyk(65.5%, 31.7%, 0%, 44.3%)
CIE-LABlab(39.84, -1.37, -29.67)
CIE-LCHlch(39.84, 29.70, 267.36°)
OKLaboklab(48.02% -0.0324 -0.0838)
OKLCHoklch(48.02% 0.09 248.8)
XYZxyz(10.4220, 11.1543, 27.1897)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31618E #8E5E31
analogous
#318E8C #31618E #31338E
triadic
#31618E #8E3161 #618E31
tetradic
#31618E #8C318E #8E5E31 #338E31
square
#31618E #8C318E #8E5E31 #338E31
split-complementary
#31618E #8E3133 #8E8C31
monochromatic
#122333 #214261 #31618E #4180BB #6D9ECD

Accessibility & contrast

On white

6.50
#31618E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#31618E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31618E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31618E#FFFFFF#000000##FFFFFF
##31618E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#006C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #31618e;
/* rgb */ color: rgb(49, 97, 142);
/* oklch */ color: oklch(48.0% 0.090 248.8);
Tailwind
colors: {
  custom: {
    50: '#738daf',
    500: '#31618e',
    950: '#000000',
  },
}
SCSS
$custom: #31618e;
$custom-light: #738daf;
$custom-dark: #000000;
JSON
{
  "hex": "#31618e",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 142
  },
  "hsl": {
    "h": 209.032,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48022,
    "c": 0.08986,
    "h": 248.8
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#31618E
secondary
#B48C67
accent
#9250D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #31618E

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

Preview Lab → · Contrast checker → · Palette generator →

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