#31599E#31599E

#31599E is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.121 H 260.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#31599E
RGBrgb(49, 89, 158)
HSLhsl(218, 53%, 41%)
HSVhsv(218, 69%, 62%)
CMYKcmyk(69%, 43.7%, 0%, 38%)
CIE-LABlab(38.31, 9.61, -41.70)
CIE-LCHlch(38.31, 42.79, 282.98°)
OKLaboklab(47.12% -0.0198 -0.1191)
OKLCHoklch(47.12% 0.121 260.5)
XYZxyz(11.0084, 10.2652, 33.7424)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31599E #9E7631
analogous
#318F9E #31599E #40319E
triadic
#31599E #9E3159 #599E31
tetradic
#31599E #9E318F #9E7631 #319E40
square
#31599E #9E318F #9E7631 #319E40
split-complementary
#31599E #9E4031 #8F9E31
monochromatic
#142441 #233F6F #31599E #4675C6 #7598D4

Accessibility & contrast

On white

6.88
#31599E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#31599E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31599E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31599E#FFFFFF#000000##FFFFFF
##31599E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A1
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #31599e;
/* rgb */ color: rgb(49, 89, 158);
/* oklch */ color: oklch(47.1% 0.121 260.5);
Tailwind
colors: {
  custom: {
    50: '#7687bb',
    500: '#31599e',
    950: '#000000',
  },
}
SCSS
$custom: #31599e;
$custom-light: #7687bb;
$custom-dark: #000000;
JSON
{
  "hex": "#31599e",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 158
  },
  "hsl": {
    "h": 217.982,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.12073,
    "h": 260.5
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#31599E
secondary
#BCA06E
accent
#A74CDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #31599E

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

Preview Lab → · Contrast checker → · Palette generator →

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