#316FCA#316FCA

#316FCA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.155 H 258.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#316FCA
RGBrgb(49, 111, 202)
HSLhsl(216, 61%, 49%)
HSVhsv(216, 76%, 79%)
CMYKcmyk(75.7%, 45%, 0%, 20.8%)
CIE-LABlab(47.34, 11.99, -52.99)
CIE-LCHlch(47.34, 54.33, 282.75°)
OKLaboklab(54.96% -0.0315 -0.1519)
OKLCHoklch(54.96% 0.155 258.3)
XYZxyz(17.6078, 16.2841, 58.0808)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FCA #CA8C31
analogous
#31BCCA #316FCA #3F31CA
triadic
#316FCA #CA316F #6FCA31
tetradic
#316FCA #CA31BC #CA8C31 #31CA3F
square
#316FCA #CA31BC #CA8C31 #31CA3F
split-complementary
#316FCA #CA3F31 #BCCA31
monochromatic
#193967 #255499 #316FCA #6091D8 #91B3E4

Accessibility & contrast

On white

4.93
#316FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#316FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FCA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FCA#FFFFFF#000000##FFFFFF
##316FCA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4078CD
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #316fca;
/* rgb */ color: rgb(49, 111, 202);
/* oklch */ color: oklch(55.0% 0.155 258.3);
Tailwind
colors: {
  custom: {
    50: '#7e97db',
    500: '#316fca',
    950: '#000000',
  },
}
SCSS
$custom: #316fca;
$custom-light: #7e97db;
$custom-dark: #000000;
JSON
{
  "hex": "#316fca",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 215.686,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.15513,
    "h": 258.3
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#316FCA
secondary
#CFB288
accent
#A344E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#316FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva