#31628E#31628E

#31628E is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.3% C 0.089 H 247.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#31628E
RGBrgb(49, 98, 142)
HSLhsl(208, 49%, 37%)
HSVhsv(208, 65%, 56%)
CMYKcmyk(65.5%, 31%, 0%, 44.3%)
CIE-LABlab(40.15, -1.99, -29.19)
CIE-LCHlch(40.15, 29.25, 266.10°)
OKLaboklab(48.27% -0.0336 -0.0824)
OKLCHoklch(48.27% 0.089 247.8)
XYZxyz(10.5150, 11.3403, 27.2207)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31628E #8E5D31
analogous
#318E8B #31628E #31348E
triadic
#31628E #8E3162 #628E31
tetradic
#31628E #8B318E #8E5D31 #348E31
square
#31628E #8B318E #8E5D31 #348E31
split-complementary
#31628E #8E3134 #8E8B31
monochromatic
#122333 #214361 #31628E #4181BB #6D9FCD

Accessibility & contrast

On white

6.43
#31628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#31628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31628E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31628E#FFFFFF#000000##FFFFFF
##31628E1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#425B8D
Tritanopia (blue-blind)
#006C72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #31628e;
/* rgb */ color: rgb(49, 98, 142);
/* oklch */ color: oklch(48.3% 0.089 247.8);
Tailwind
colors: {
  custom: {
    50: '#738eaf',
    500: '#31628e',
    950: '#000000',
  },
}
SCSS
$custom: #31628e;
$custom-light: #738eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#31628e",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 208.387,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48265,
    "c": 0.08895,
    "h": 247.8
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#31628E
secondary
#B48B67
accent
#9050D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #31628E

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

Preview Lab → · Contrast checker → · Palette generator →

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