#31598E#31598E

#31598E is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.098 H 256.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#31598E
RGBrgb(49, 89, 142)
HSLhsl(214, 49%, 37%)
HSVhsv(214, 65%, 56%)
CMYKcmyk(65.5%, 37.3%, 0%, 44.3%)
CIE-LABlab(37.39, 3.69, -33.53)
CIE-LCHlch(37.39, 33.73, 276.28°)
OKLaboklab(46.1% -0.0236 -0.0951)
OKLCHoklch(46.1% 0.098 256.1)
XYZxyz(9.7197, 9.7498, 26.9556)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31598E #8E6631
analogous
#31878E #31598E #38318E
triadic
#31598E #8E3159 #598E31
tetradic
#31598E #8E3187 #8E6631 #318E38
square
#31598E #8E3187 #8E6631 #318E38
split-complementary
#31598E #8E3831 #878E31
monochromatic
#122033 #213C61 #31598E #4176BB #6D96CD

Accessibility & contrast

On white

7.12
#31598E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#31598E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31598E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31598E#FFFFFF#000000##FFFFFF
##31598E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D90
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #31598e;
/* rgb */ color: rgb(49, 89, 142);
/* oklch */ color: oklch(46.1% 0.098 256.1);
Tailwind
colors: {
  custom: {
    50: '#7387af',
    500: '#31598e',
    950: '#000000',
  },
}
SCSS
$custom: #31598e;
$custom-light: #7387af;
$custom-dark: #000000;
JSON
{
  "hex": "#31598e",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 142
  },
  "hsl": {
    "h": 214.194,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.09802,
    "h": 256.1
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31598E

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

Preview Lab → · Contrast checker → · Palette generator →

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