#31608F#31608F

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

Color values

HEX#31608F
RGBrgb(49, 96, 143)
HSLhsl(210, 49%, 38%)
HSVhsv(210, 66%, 56%)
CMYKcmyk(65.7%, 32.9%, 0%, 43.9%)
CIE-LABlab(39.58, -0.39, -30.68)
CIE-LCHlch(39.58, 30.68, 269.28°)
OKLaboklab(47.84% -0.031 -0.0867)
OKLCHoklch(47.84% 0.092 250.3)
XYZxyz(10.4056, 11.0009, 27.5563)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31608F #8F6031
analogous
#318F8F #31608F #31318F
triadic
#31608F #8F3160 #608F31
tetradic
#31608F #8F318F #8F6031 #318F31
square
#31608F #8F318F #8F6031 #318F31
split-complementary
#31608F #8F3131 #8F8F31
monochromatic
#122334 #214161 #31608F #417FBD #6D9DCD

Accessibility & contrast

On white

6.56
#31608F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#31608F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31608F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31608F#FFFFFF#000000##FFFFFF
##31608F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6291
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #31608f;
/* rgb */ color: rgb(49, 96, 143);
/* oklch */ color: oklch(47.8% 0.092 250.3);
Tailwind
colors: {
  custom: {
    50: '#738cb0',
    500: '#31608f',
    950: '#000000',
  },
}
SCSS
$custom: #31608f;
$custom-light: #738cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#31608f",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 143
  },
  "hsl": {
    "h": 210,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.09212,
    "h": 250.3
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#31608F
secondary
#B58E67
accent
#944FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #31608F

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

Preview Lab → · Contrast checker → · Palette generator →

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