#315083#315083

#315083 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.093 H 259.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#315083
RGBrgb(49, 80, 131)
HSLhsl(217, 46%, 35%)
HSVhsv(217, 63%, 51%)
CMYKcmyk(62.6%, 38.9%, 0%, 48.6%)
CIE-LABlab(34.04, 5.51, -32.11)
CIE-LCHlch(34.04, 32.58, 279.74°)
OKLaboklab(43.3% -0.0163 -0.0911)
OKLCHoklch(43.3% 0.093 259.9)
XYZxyz(8.2306, 8.0283, 22.5842)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315083 #836431
analogous
#317983 #315083 #3B3183
triadic
#315083 #833150 #508331
tetradic
#315083 #833179 #836431 #31833B
square
#315083 #833179 #836431 #31833B
split-complementary
#315083 #833B31 #798331
monochromatic
#101A2A #203556 #315083 #426BB0 #688CC6

Accessibility & contrast

On white

8.06
#315083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#315083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315083
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315083#FFFFFF#000000##FFFFFF
##3150831.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2F4D82
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #315083;
/* rgb */ color: rgb(49, 80, 131);
/* oklch */ color: oklch(43.3% 0.093 259.9);
Tailwind
colors: {
  custom: {
    50: '#7180a7',
    500: '#315083',
    950: '#000000',
  },
}
SCSS
$custom: #315083;
$custom-light: #7180a7;
$custom-dark: #000000;
JSON
{
  "hex": "#315083",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 217.317,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.09255,
    "h": 259.9
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#315083
secondary
#AE9162
accent
#A453D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #315083

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

Preview Lab → · Contrast checker → · Palette generator →

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