#315BAD#315BAD

#315BAD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.139 H 262.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#315BAD
RGBrgb(49, 91, 173)
HSLhsl(220, 56%, 44%)
HSVhsv(220, 72%, 68%)
CMYKcmyk(71.7%, 47.4%, 0%, 32.2%)
CIE-LABlab(39.83, 13.93, -48.18)
CIE-LCHlch(39.83, 50.15, 286.13°)
OKLaboklab(48.6% -0.0191 -0.1381)
OKLCHoklch(48.6% 0.139 262.1)
XYZxyz(12.5478, 11.1509, 41.0181)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315BAD #AD8331
analogous
#3199AD #315BAD #4531AD
triadic
#315BAD #AD315B #5BAD31
tetradic
#315BAD #AD3199 #AD8331 #31AD45
square
#315BAD #AD3199 #AD8331 #31AD45
split-complementary
#315BAD #AD4531 #99AD31
monochromatic
#16294E #23427D #315BAD #4E79CD #7E9DDA

Accessibility & contrast

On white

6.50
#315BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#315BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315BAD
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315BAD#FFFFFF#000000##FFFFFF
##315BAD1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064B0
Deuteranopia (green-blind)
#1259AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #315bad;
/* rgb */ color: rgb(49, 91, 173);
/* oklch */ color: oklch(48.6% 0.139 262.1);
Tailwind
colors: {
  custom: {
    50: '#7988c6',
    500: '#315bad',
    950: '#000000',
  },
}
SCSS
$custom: #315bad;
$custom-light: #7988c6;
$custom-dark: #000000;
JSON
{
  "hex": "#315bad",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 219.677,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.13942,
    "h": 262.1
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#315BAD
secondary
#C3A977
accent
#AC49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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