#31568E#31568E

#31568E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.4% C 0.101 H 258.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#31568E
RGBrgb(49, 86, 142)
HSLhsl(216, 49%, 37%)
HSVhsv(216, 65%, 56%)
CMYKcmyk(65.5%, 39.4%, 0%, 44.3%)
CIE-LABlab(36.48, 5.63, -34.97)
CIE-LCHlch(36.48, 35.42, 279.14°)
OKLaboklab(45.4% -0.0203 -0.0994)
OKLCHoklch(45.4% 0.101 258.5)
XYZxyz(9.4752, 9.2606, 26.8741)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31568E #8E6931
analogous
#31858E #31568E #3B318E
triadic
#31568E #8E3156 #568E31
tetradic
#31568E #8E3185 #8E6931 #318E3B
square
#31568E #8E3185 #8E6931 #318E3B
split-complementary
#31568E #8E3B31 #858E31
monochromatic
#121F33 #213A61 #31568E #4172BB #6D93CD

Accessibility & contrast

On white

7.36
#31568E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#31568E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31568E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31568E#FFFFFF#000000##FFFFFF
##31568E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B90
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#00636B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #31568e;
/* rgb */ color: rgb(49, 86, 142);
/* oklch */ color: oklch(45.4% 0.101 258.5);
Tailwind
colors: {
  custom: {
    50: '#7385af',
    500: '#31568e',
    950: '#000000',
  },
}
SCSS
$custom: #31568e;
$custom-light: #7385af;
$custom-dark: #000000;
JSON
{
  "hex": "#31568e",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 142
  },
  "hsl": {
    "h": 216.129,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45397,
    "c": 0.10145,
    "h": 258.5
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#31568E
secondary
#B49567
accent
#A250D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #31568E

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

Preview Lab → · Contrast checker → · Palette generator →

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