#31608B#31608B

#31608B is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.6% C 0.087 H 248.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31608B
RGBrgb(49, 96, 139)
HSLhsl(209, 48%, 37%)
HSVhsv(209, 65%, 55%)
CMYKcmyk(64.7%, 30.9%, 0%, 45.5%)
CIE-LABlab(39.38, -1.82, -28.58)
CIE-LCHlch(39.38, 28.64, 266.36°)
OKLaboklab(47.61% -0.0323 -0.0806)
OKLCHoklch(47.61% 0.087 248.2)
XYZxyz(10.1080, 10.8818, 25.9888)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31608B #8B5C31
analogous
#318B89 #31608B #31338B
triadic
#31608B #8B3160 #608B31
tetradic
#31608B #89318B #8B5C31 #338B31
square
#31608B #89318B #8B5C31 #338B31
split-complementary
#31608B #8B3133 #8B8931
monochromatic
#112131 #21415E #31608B #417FB8 #6B9DCB

Accessibility & contrast

On white

6.61
#31608B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#31608B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31608B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31608B#FFFFFF#000000##FFFFFF
##31608B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628D
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#006A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #31608b;
/* rgb */ color: rgb(49, 96, 139);
/* oklch */ color: oklch(47.6% 0.087 248.2);
Tailwind
colors: {
  custom: {
    50: '#728cad',
    500: '#31608b',
    950: '#000000',
  },
}
SCSS
$custom: #31608b;
$custom-light: #728cad;
$custom-dark: #000000;
JSON
{
  "hex": "#31608b",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 139
  },
  "hsl": {
    "h": 208.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.08685,
    "h": 248.2
  },
  "luminance": 0.10883
}

Semantic roles & 50–950 ramp

primary
#31608B
secondary
#B28A65
accent
#9150D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #31608B

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

Preview Lab → · Contrast checker → · Palette generator →

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