#31598D#31598D

#31598D is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.097 H 255.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#31598D
RGBrgb(49, 89, 141)
HSLhsl(214, 48%, 37%)
HSVhsv(214, 65%, 55%)
CMYKcmyk(65.2%, 36.9%, 0%, 44.7%)
CIE-LABlab(37.34, 3.32, -33.01)
CIE-LCHlch(37.34, 33.18, 275.75°)
OKLaboklab(46.04% -0.0238 -0.0936)
OKLCHoklch(46.04% 0.097 255.7)
XYZxyz(9.6450, 9.7199, 26.5620)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31598D #8D6531
analogous
#31878D #31598D #37318D
triadic
#31598D #8D3159 #598D31
tetradic
#31598D #8D3187 #8D6531 #318D37
square
#31598D #8D3187 #8D6531 #318D37
split-complementary
#31598D #8D3731 #878D31
monochromatic
#112032 #213C60 #31598D #4176BA #6C96CC

Accessibility & contrast

On white

7.13
#31598D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#31598D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31598D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31598D#FFFFFF#000000##FFFFFF
##31598D1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D8F
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #31598d;
/* rgb */ color: rgb(49, 89, 141);
/* oklch */ color: oklch(46.0% 0.097 255.7);
Tailwind
colors: {
  custom: {
    50: '#7387ae',
    500: '#31598d',
    950: '#000000',
  },
}
SCSS
$custom: #31598d;
$custom-light: #7387ae;
$custom-dark: #000000;
JSON
{
  "hex": "#31598d",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 141
  },
  "hsl": {
    "h": 213.913,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46043,
    "c": 0.09661,
    "h": 255.7
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#31598D
secondary
#B49266
accent
#9D50D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #31598D

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

Preview Lab → · Contrast checker → · Palette generator →

#31598D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva