#315DA1#315DA1

#315DA1 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.2% C 0.120 H 258.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#315DA1
RGBrgb(49, 93, 161)
HSLhsl(216, 53%, 41%)
HSVhsv(216, 70%, 63%)
CMYKcmyk(69.6%, 42.2%, 0%, 36.9%)
CIE-LABlab(39.67, 8.14, -41.32)
CIE-LCHlch(39.67, 42.12, 281.14°)
OKLaboklab(48.23% -0.0232 -0.1179)
OKLCHoklch(48.23% 0.12 258.9)
XYZxyz(11.6117, 11.0537, 35.2329)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315DA1 #A17531
analogous
#3195A1 #315DA1 #3D31A1
triadic
#315DA1 #A1315D #5DA131
tetradic
#315DA1 #A13195 #A17531 #31A13D
square
#315DA1 #A13195 #A17531 #31A13D
split-complementary
#315DA1 #A13D31 #95A131
monochromatic
#142743 #234272 #315DA1 #487AC7 #779CD6

Accessibility & contrast

On white

6.54
#315DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#315DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315DA1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315DA1#FFFFFF#000000##FFFFFF
##315DA11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315da1;
/* rgb */ color: rgb(49, 93, 161);
/* oklch */ color: oklch(48.2% 0.120 258.9);
Tailwind
colors: {
  custom: {
    50: '#768abd',
    500: '#315da1',
    950: '#000000',
  },
}
SCSS
$custom: #315da1;
$custom-light: #768abd;
$custom-dark: #000000;
JSON
{
  "hex": "#315da1",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 216.429,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.12019,
    "h": 258.9
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #315DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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