#315C99#315C99

#315C99 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.5% C 0.110 H 257.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#315C99
RGBrgb(49, 92, 153)
HSLhsl(215, 51%, 40%)
HSVhsv(215, 68%, 60%)
CMYKcmyk(68%, 39.9%, 0%, 40%)
CIE-LABlab(38.91, 5.81, -37.75)
CIE-LCHlch(38.91, 38.20, 278.75°)
OKLaboklab(47.49% -0.024 -0.1075)
OKLCHoklch(47.49% 0.11 257.4)
XYZxyz(10.8415, 10.6061, 31.6066)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315C99 #996E31
analogous
#319099 #315C99 #3A3199
triadic
#315C99 #99315C #5C9931
tetradic
#315C99 #993190 #996E31 #31993A
square
#315C99 #993190 #996E31 #31993A
split-complementary
#315C99 #993A31 #909931
monochromatic
#13243C #22406B #315C99 #4479C3 #729AD2

Accessibility & contrast

On white

6.73
#315C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#315C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315C99
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315C99#FFFFFF#000000##FFFFFF
##315C991.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619B
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315c99;
/* rgb */ color: rgb(49, 92, 153);
/* oklch */ color: oklch(47.5% 0.110 257.4);
Tailwind
colors: {
  custom: {
    50: '#7589b7',
    500: '#315c99',
    950: '#000000',
  },
}
SCSS
$custom: #315c99;
$custom-light: #7589b7;
$custom-dark: #000000;
JSON
{
  "hex": "#315c99",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 215.192,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.11012,
    "h": 257.4
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#315C99
secondary
#BA9A6C
accent
#A04DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315C99

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

Preview Lab → · Contrast checker → · Palette generator →

#315C99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva