#315CA0#315CA0

#315CA0 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.9% C 0.120 H 259.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#315CA0
RGBrgb(49, 92, 160)
HSLhsl(217, 53%, 41%)
HSVhsv(217, 69%, 63%)
CMYKcmyk(69.4%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.32, 8.41, -41.29)
CIE-LCHlch(39.32, 42.14, 281.51°)
OKLaboklab(47.94% -0.0224 -0.1178)
OKLCHoklch(47.94% 0.12 259.2)
XYZxyz(11.4367, 10.8442, 34.7413)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CA0 #A07531
analogous
#3193A0 #315CA0 #3D31A0
triadic
#315CA0 #A0315C #5CA031
tetradic
#315CA0 #A03193 #A07531 #31A03D
square
#315CA0 #A03193 #A07531 #31A03D
split-complementary
#315CA0 #A03D31 #93A031
monochromatic
#142642 #234171 #315CA0 #4779C7 #769BD5

Accessibility & contrast

On white

6.63
#315CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#315CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CA0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CA0#FFFFFF#000000##FFFFFF
##315CA01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#2A589F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315ca0;
/* rgb */ color: rgb(49, 92, 160);
/* oklch */ color: oklch(47.9% 0.120 259.2);
Tailwind
colors: {
  custom: {
    50: '#7689bc',
    500: '#315ca0',
    950: '#000000',
  },
}
SCSS
$custom: #315ca0;
$custom-light: #7689bc;
$custom-dark: #000000;
JSON
{
  "hex": "#315ca0",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 216.757,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.11997,
    "h": 259.2
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#315CA0
secondary
#BD9F70
accent
#A44BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #315CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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