#316FC9#316FC9

#316FC9 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.9% C 0.154 H 258.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#316FC9
RGBrgb(49, 111, 201)
HSLhsl(216, 61%, 49%)
HSVhsv(216, 76%, 79%)
CMYKcmyk(75.6%, 44.8%, 0%, 21.2%)
CIE-LABlab(47.28, 11.62, -52.51)
CIE-LCHlch(47.28, 53.78, 282.48°)
OKLaboklab(54.9% -0.0317 -0.1505)
OKLCHoklch(54.9% 0.154 258.1)
XYZxyz(17.4898, 16.2369, 57.4593)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FC9 #C98B31
analogous
#31BBC9 #316FC9 #3F31C9
triadic
#316FC9 #C9316F #6FC931
tetradic
#316FC9 #C931BB #C98B31 #31C93F
square
#316FC9 #C931BB #C98B31 #31C93F
split-complementary
#316FC9 #C93F31 #BBC931
monochromatic
#193967 #255498 #316FC9 #5F90D8 #90B2E4

Accessibility & contrast

On white

4.94
#316FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#316FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FC9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FC9#FFFFFF#000000##FFFFFF
##316FC91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4178CC
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #316fc9;
/* rgb */ color: rgb(49, 111, 201);
/* oklch */ color: oklch(54.9% 0.154 258.1);
Tailwind
colors: {
  custom: {
    50: '#7e97da',
    500: '#316fc9',
    950: '#000000',
  },
}
SCSS
$custom: #316fc9;
$custom-light: #7e97da;
$custom-dark: #000000;
JSON
{
  "hex": "#316fc9",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 201
  },
  "hsl": {
    "h": 215.526,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.1538,
    "h": 258.1
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#316FC9
secondary
#CFB187
accent
#A344E4
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #316FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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