#31628B#31628B

#31628B is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.1% C 0.085 H 246.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#31628B
RGBrgb(49, 98, 139)
HSLhsl(207, 48%, 37%)
HSVhsv(207, 65%, 55%)
CMYKcmyk(64.7%, 29.5%, 0%, 45.5%)
CIE-LABlab(40.00, -3.06, -27.61)
CIE-LCHlch(40.00, 27.78, 263.68°)
OKLaboklab(48.1% -0.0345 -0.0778)
OKLCHoklch(48.1% 0.085 246.1)
XYZxyz(10.2928, 11.2514, 26.0504)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31628B #8B5A31
analogous
#318B87 #31628B #31358B
triadic
#31628B #8B3162 #628B31
tetradic
#31628B #87318B #8B5A31 #358B31
square
#31628B #87318B #8B5A31 #358B31
split-complementary
#31628B #8B3135 #8B8731
monochromatic
#112231 #21425E #31628B #4182B8 #6B9FCB

Accessibility & contrast

On white

6.46
#31628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#31628B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31628B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31628B#FFFFFF#000000##FFFFFF
##31628B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638D
Deuteranopia (green-blind)
#445A8A
Tritanopia (blue-blind)
#006C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #31628b;
/* rgb */ color: rgb(49, 98, 139);
/* oklch */ color: oklch(48.1% 0.085 246.1);
Tailwind
colors: {
  custom: {
    50: '#728ead',
    500: '#31628b',
    950: '#000000',
  },
}
SCSS
$custom: #31628b;
$custom-light: #728ead;
$custom-dark: #000000;
JSON
{
  "hex": "#31628b",
  "rgb": {
    "r": 49,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 207.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.08511,
    "h": 246.1
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#31628B
secondary
#B28865
accent
#8E50D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #31628B

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

Preview Lab → · Contrast checker → · Palette generator →

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