#315CB1#315CB1

#315CB1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.144 H 262.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#315CB1
RGBrgb(49, 92, 177)
HSLhsl(220, 57%, 44%)
HSVhsv(220, 72%, 69%)
CMYKcmyk(72.3%, 48%, 0%, 30.6%)
CIE-LABlab(40.38, 14.78, -49.66)
CIE-LCHlch(40.38, 51.82, 286.58°)
OKLaboklab(49.1% -0.0193 -0.1425)
OKLCHoklch(49.1% 0.144 262.3)
XYZxyz(13.0268, 11.4802, 43.1158)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315CB1 #B18631
analogous
#319CB1 #315CB1 #4631B1
triadic
#315CB1 #B1315C #5CB131
tetradic
#315CB1 #B1319C #B18631 #31B146
square
#315CB1 #B1319C #B18631 #31B146
split-complementary
#315CB1 #B14631 #9CB131
monochromatic
#162A51 #244381 #315CB1 #517BCF #809FDC

Accessibility & contrast

On white

6.37
#315CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#315CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315CB1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315CB1#FFFFFF#000000##FFFFFF
##315CB11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#0A5AAF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #315cb1;
/* rgb */ color: rgb(49, 92, 177);
/* oklch */ color: oklch(49.1% 0.144 262.3);
Tailwind
colors: {
  custom: {
    50: '#7a89c9',
    500: '#315cb1',
    950: '#000000',
  },
}
SCSS
$custom: #315cb1;
$custom-light: #7a89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#315cb1",
  "rgb": {
    "r": 49,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 219.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.14377,
    "h": 262.3
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#315CB1
secondary
#C5AB79
accent
#AD48E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #315CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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