#31639B#31639B

#31639B is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 49.3% C 0.105 H 253.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#31639B
RGBrgb(49, 99, 155)
HSLhsl(212, 52%, 40%)
HSVhsv(212, 68%, 61%)
CMYKcmyk(68.4%, 36.1%, 0%, 39.2%)
CIE-LABlab(41.12, 2.09, -35.44)
CIE-LCHlch(41.12, 35.50, 273.38°)
OKLaboklab(49.25% -0.0308 -0.1006)
OKLCHoklch(49.25% 0.105 253)
XYZxyz(11.6427, 11.9420, 32.6954)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31639B #9B6931
analogous
#31989B #31639B #34319B
triadic
#31639B #9B3163 #639B31
tetradic
#31639B #9B3198 #9B6931 #319B34
square
#31639B #9B3198 #9B6931 #319B34
split-complementary
#31639B #9B3431 #989B31
monochromatic
#14283E #22456D #31639B #4581C4 #73A1D3

Accessibility & contrast

On white

6.20
#31639B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#31639B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31639B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31639B#FFFFFF#000000##FFFFFF
##31639B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669D
Deuteranopia (green-blind)
#3B5C9A
Tritanopia (blue-blind)
#007077
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #31639b;
/* rgb */ color: rgb(49, 99, 155);
/* oklch */ color: oklch(49.3% 0.105 253.0);
Tailwind
colors: {
  custom: {
    50: '#758fb9',
    500: '#31639b',
    950: '#000000',
  },
}
SCSS
$custom: #31639b;
$custom-light: #758fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#31639b",
  "rgb": {
    "r": 49,
    "g": 99,
    "b": 155
  },
  "hsl": {
    "h": 211.698,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49251,
    "c": 0.10521,
    "h": 253
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#31639B
secondary
#BB966D
accent
#984CDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #31639B

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

Preview Lab → · Contrast checker → · Palette generator →

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