#31608E#31608E

#31608E is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.8% C 0.091 H 249.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#31608E
RGBrgb(49, 96, 142)
HSLhsl(210, 49%, 37%)
HSVhsv(210, 65%, 56%)
CMYKcmyk(65.5%, 32.4%, 0%, 44.3%)
CIE-LABlab(39.53, -0.75, -30.15)
CIE-LCHlch(39.53, 30.16, 268.58°)
OKLaboklab(47.78% -0.0313 -0.0852)
OKLCHoklch(47.78% 0.091 249.8)
XYZxyz(10.3302, 10.9707, 27.1591)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31608E #8E5F31
analogous
#318E8D #31608E #31328E
triadic
#31608E #8E3160 #608E31
tetradic
#31608E #8D318E #8E5F31 #328E31
square
#31608E #8D318E #8E5F31 #328E31
split-complementary
#31608E #8E3132 #8E8D31
monochromatic
#122233 #214161 #31608E #417FBB #6D9DCD

Accessibility & contrast

On white

6.57
#31608E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#31608E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31608E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31608E#FFFFFF#000000##FFFFFF
##31608E1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#3F598D
Tritanopia (blue-blind)
#006B70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #31608e;
/* rgb */ color: rgb(49, 96, 142);
/* oklch */ color: oklch(47.8% 0.091 249.8);
Tailwind
colors: {
  custom: {
    50: '#738caf',
    500: '#31608e',
    950: '#000000',
  },
}
SCSS
$custom: #31608e;
$custom-light: #738caf;
$custom-dark: #000000;
JSON
{
  "hex": "#31608e",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 142
  },
  "hsl": {
    "h": 209.677,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.09079,
    "h": 249.8
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#31608E
secondary
#B48D67
accent
#9350D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #31608E

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

Preview Lab → · Contrast checker → · Palette generator →

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