#313573#313573

#313573 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.105 H 277.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#313573
RGBrgb(49, 53, 115)
HSLhsl(236, 40%, 32%)
HSVhsv(236, 57%, 45%)
CMYKcmyk(57.4%, 53.9%, 0%, 54.9%)
CIE-LABlab(25.07, 17.94, -36.42)
CIE-LCHlch(25.07, 40.60, 296.23°)
OKLaboklab(36.1% 0.0128 -0.1041)
OKLCHoklch(36.1% 0.105 277)
XYZxyz(5.6333, 4.4366, 16.7758)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313573 #736F31
analogous
#315673 #313573 #4E3173
triadic
#313573 #733135 #357331
tetradic
#313573 #733156 #736F31 #31734E
square
#313573 #733156 #736F31 #31734E
split-complementary
#313573 #734E31 #567331
monochromatic
#0C0D1D #1F2148 #313573 #43499E #6268BC

Accessibility & contrast

On white

11.13
#313573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#313573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313573
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313573#FFFFFF#000000##FFFFFF
##3135731.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#093972
Tritanopia (blue-blind)
#10434E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313573;
/* rgb */ color: rgb(49, 53, 115);
/* oklch */ color: oklch(36.1% 0.105 277.0);
Tailwind
colors: {
  custom: {
    50: '#6f6c9c',
    500: '#313573',
    950: '#000000',
  },
}
SCSS
$custom: #313573;
$custom-light: #6f6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#313573",
  "rgb": {
    "r": 49,
    "g": 53,
    "b": 115
  },
  "hsl": {
    "h": 236.364,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36102,
    "c": 0.10484,
    "h": 277
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#313573
secondary
#A49F5C
accent
#C958D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #313573

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

Preview Lab → · Contrast checker → · Palette generator →

#313573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva