#315595#315595

#315595 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.113 H 261.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#315595
RGBrgb(49, 85, 149)
HSLhsl(218, 51%, 39%)
HSVhsv(218, 67%, 58%)
CMYKcmyk(67.1%, 43%, 0%, 41.6%)
CIE-LABlab(36.59, 8.87, -39.04)
CIE-LCHlch(36.59, 40.03, 282.80°)
OKLaboklab(45.62% -0.0176 -0.1113)
OKLCHoklch(45.62% 0.113 261)
XYZxyz(9.9380, 9.3189, 29.7029)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315595 #957131
analogous
#318795 #315595 #3F3195
triadic
#315595 #953155 #559531
tetradic
#315595 #953187 #957131 #31953F
square
#315595 #953187 #957131 #31953F
split-complementary
#315595 #953F31 #879531
monochromatic
#132039 #223B67 #315595 #4270C1 #7093D0

Accessibility & contrast

On white

7.33
#315595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#315595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315595
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315595#FFFFFF#000000##FFFFFF
##3155951.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B97
Deuteranopia (green-blind)
#285294
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315595;
/* rgb */ color: rgb(49, 85, 149);
/* oklch */ color: oklch(45.6% 0.113 261.0);
Tailwind
colors: {
  custom: {
    50: '#7484b4',
    500: '#315595',
    950: '#000000',
  },
}
SCSS
$custom: #315595;
$custom-light: #7484b4;
$custom-dark: #000000;
JSON
{
  "hex": "#315595",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 149
  },
  "hsl": {
    "h": 218.4,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.11272,
    "h": 261
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#315595
secondary
#B89C6A
accent
#A84EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315595

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

Preview Lab → · Contrast checker → · Palette generator →

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