#31748B#31748B

#31748B is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.6% C 0.076 H 223.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#31748B
RGBrgb(49, 116, 139)
HSLhsl(195, 48%, 37%)
HSVhsv(195, 65%, 55%)
CMYKcmyk(64.7%, 16.5%, 0%, 45.5%)
CIE-LABlab(45.64, -13.69, -18.86)
CIE-LCHlch(45.64, 23.31, 234.03°)
OKLaboklab(52.58% -0.0549 -0.0526)
OKLCHoklch(52.58% 0.076 223.8)
XYZxyz(12.1704, 15.0066, 26.6763)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31748B #8B4831
analogous
#318B75 #31748B #31478B
triadic
#31748B #8B3174 #748B31
tetradic
#31748B #75318B #8B4831 #478B31
square
#31748B #75318B #8B4831 #478B31
split-complementary
#31748B #8B3147 #8B7531
monochromatic
#112831 #214E5E #31748B #419AB8 #6BB3CB

Accessibility & contrast

On white

5.25
#31748B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#31748B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31748B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31748B#FFFFFF#000000##FFFFFF
##31748B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67718C
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#007B7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #31748b;
/* rgb */ color: rgb(49, 116, 139);
/* oklch */ color: oklch(52.6% 0.076 223.8);
Tailwind
colors: {
  custom: {
    50: '#739cad',
    500: '#31748b',
    950: '#000000',
  },
}
SCSS
$custom: #31748b;
$custom-light: #739cad;
$custom-dark: #000000;
JSON
{
  "hex": "#31748b",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 139
  },
  "hsl": {
    "h": 195.333,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.07605,
    "h": 223.8
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#31748B
secondary
#B27965
accent
#7350D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #31748B

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

Preview Lab → · Contrast checker → · Palette generator →

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